mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
update to phpunit8
This commit is contained in:
@@ -24,11 +24,10 @@ class StaticFactoryTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \InvalidArgumentException
|
||||
*/
|
||||
public function testException()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
|
||||
StaticFactory::factory('object');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user