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