Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ControllerTest extends FunctionalTest |
||
10 | { |
||
11 | |||
12 | public function tearDown(): void |
||
13 | { |
||
14 | parent::tearDown(); |
||
15 | DebugBar::clearDebugBar(); |
||
16 | } |
||
17 | |||
18 | public function testErrorWhenStorageIsDisabled() |
||
19 | { |
||
20 | Config::modify()->set(DebugBar::class, 'enable_storage', false); |
||
21 | $result = $this->get('/__debugbar'); |
||
22 | $this->assertEquals(404, $result->getStatusCode()); |
||
23 | } |
||
24 | |||
25 | public function testErrorWhenModuleIsDisabled() |
||
30 | } |
||
31 | } |
||
32 |