Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | 2 | public function setUp() |
|
37 | { |
||
38 | 2 | is_file($testRootReady = TEST_ROOT_PATH . '/ready') || $this->prepareTestRoot($testRootReady); |
|
39 | 2 | $di = Di::getDefault(); |
|
40 | 2 | include TEST_ROOT_PATH . '/vendor/phwoolcon/di.php'; |
|
41 | 2 | $this->di = $di; |
|
42 | 2 | Clearer::clear(); |
|
43 | 2 | $class = get_class($this); |
|
44 | 2 | Log::debug("================== Running {$class}::{$this->getName()}() ... =================="); |
|
45 | 2 | Timer::start(); |
|
46 | 2 | } |
|
47 | |||
55 |