Passed
Push — master ( 67253e...1a1f73 )
by Arthur
04:53 queued 11s
created

OwnershipPolicyTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAccessPolicy() 0 4 1
1
<?php
2
3
namespace Foundation\Tests;
4
5
use Foundation\Abstracts\Tests\TestCase;
6
7
class OwnershipPolicyTest extends TestCase
8
{
9
10
    public function testAccessPolicy()
11
    {
12
        $user = $this->actAsRandomUser();
13
        $this->assertTrue($user->can('access', getAuthenticatedUser()));
14
    }
15
16
}
17