mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 12:17:35 +02:00
Upgrade PHPUnit to v8
This commit is contained in:
@@ -18,10 +18,11 @@ class WhatFailureGroupHandlerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Handler\WhatFailureGroupHandler::__construct
|
||||
* @expectedException InvalidArgumentException
|
||||
*/
|
||||
public function testConstructorOnlyTakesHandler()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
|
||||
new WhatFailureGroupHandler([new TestHandler(), "foo"]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user