Skip to content

Commit 41960b8

Browse files
committed
Update FirewallTest.php
1 parent 0087c0c commit 41960b8

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/FirewallTest.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,4 @@ public function testExceptionFilter(Firewall $firewall)
212212
$this->expectExceptionCode(Exception::ERROR_UNKNOWN_FILTER_CODE);
213213
$firewall->enable('unknown');
214214
}
215-
216-
/**
217-
* @runInSeparateProcess
218-
*/
219-
public function testBlock()
220-
{
221-
ob_start();
222-
223-
$this->expectOutputString('');
224-
$this->expectException(\PHPUnit\Framework\Error\Warning::class);
225-
226-
Firewall::block();
227-
228-
$this->assertEquals(400, http_response_code());
229-
230-
ob_end_clean();
231-
}
232215
}

0 commit comments

Comments
 (0)