mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Move expectException before the line where exception is thrown
This commit is contained in:
@@ -38,7 +38,7 @@ class SyslogHandlerTest extends \PHPUnit\Framework\TestCase
|
||||
*/
|
||||
public function testConstructInvalidFacility()
|
||||
{
|
||||
$this->expectException('UnexpectedValueException');
|
||||
$this->expectException(\UnexpectedValueException::class);
|
||||
$handler = new SyslogHandler('test', 'unknown');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user