Completed
Pull Request — master (#17)
by Pavel
10:40
created

StaticDbTestTrait::setUpBeforeClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace ScayTrase\Api\Cruds\Tests\Unit;
4
5
use ScayTrase\Api\Cruds\Tests\KernelProvider;
6
7
trait StaticDbTestTrait
8
{
9
    public static function setUpBeforeClass()
10
    {
11
        self::$class = KernelProvider::getClass();
12
        self::bootKernel();
13
        self::configureDb();
14
        self::$client = self::createClient();
15
    }
16
17
    public function setUp()
18
    {
19
    }
20
21
    public function tearDown()
22
    {
23
    }
24
}
25