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

OwnershipPolicyTest::testAccessPolicy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
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