Completed
Push — master ( 0ca8c7...32ef7a )
by Andrii
04:22
created

AuthManagerTest::testMin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 1 Features 0
Metric Value
c 3
b 1
f 0
dl 0
loc 12
rs 9.4285
cc 1
eloc 9
nc 1
nop 0
1
<?php
2
3
/*
4
 * RBAC implementation for HiPanel
5
 *
6
 * @link      https://github.com/hiqdev/hipanel-rbac
7
 * @package   hipanel-rbac
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hipanel\rbac\tests\unit;
13
14
use hipanel\rbac\AuthManager;
15
use Yii;
16
17
/**
18
 * AuthManagerTest class.
19
 *
20
 * @author Andrii Vasyliev <[email protected]>
21
 */
22
class AuthManagerTest extends \PHPUnit_Framework_TestCase
23
{
24
    use CheckAccessTrait;
25
26
    /**
27
     * @var AuthManager
28
     */
29
    protected $auth;
30
31
    protected function setUp()
32
    {
33
        $this->auth = Yii::createObject(AuthManager::class);
34
35
        $this->setAssignments();
36
    }
37
}
38