mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +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{
|
public function testAccidentalOverrideBlock() : void{
|
||||||
$block = new MyCustomBlock();
|
$block = new MyCustomBlock();
|
||||||
$this->expectException(\RuntimeException::class);
|
$this->expectException(\InvalidArgumentException::class);
|
||||||
BlockFactory::registerBlock($block);
|
BlockFactory::registerBlock($block);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user