mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Fixed broken test
This commit is contained in:
parent
a430f7f4f7
commit
cdb17b1cee
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user