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

AuthManagerTest::tearDown()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 1
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