update to phpunit8

This commit is contained in:
Dominik Liebler
2019-08-17 23:05:15 +02:00
parent 78ffb07d9c
commit a73c253ffc
10 changed files with 321 additions and 263 deletions

View File

@@ -24,11 +24,10 @@ class StaticFactoryTest extends TestCase
);
}
/**
* @expectedException \InvalidArgumentException
*/
public function testException()
{
$this->expectException(\InvalidArgumentException::class);
StaticFactory::factory('object');
}
}