Fixed broken test

This commit is contained in:
Dylan K. Taylor 2018-10-06 17:39:11 +01:00
parent a430f7f4f7
commit cdb17b1cee

View File

@ -36,7 +36,7 @@ class BlockTest extends TestCase{
*/
public function testAccidentalOverrideBlock() : void{
$block = new MyCustomBlock();
$this->expectException(\RuntimeException::class);
$this->expectException(\InvalidArgumentException::class);
BlockFactory::registerBlock($block);
}