mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Fixed broken test
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user