mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Cover fatal exception; improves #66
This commit is contained in:
parent
edbfb12d17
commit
b4b2b10db3
1 changed files with 6 additions and 0 deletions
|
@ -73,4 +73,10 @@ class TestException extends \JKingWeb\Arsse\Test\AbstractTest {
|
|||
$this->assertException("uncoded");
|
||||
throw new LangException("testThisExceptionMessageDoesNotExist");
|
||||
}
|
||||
|
||||
/** @covers \JKingWeb\Arsse\ExceptionFatal */
|
||||
public function testFatalException() {
|
||||
$this->expectException('JKingWeb\Arsse\ExceptionFatal');
|
||||
throw new \JKingWeb\Arsse\ExceptionFatal("");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue