mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
ItemFactoryTest: remove bogus test case
This commit is contained in:
parent
b268818eda
commit
cac72d73fb
@ -28,15 +28,6 @@ use pocketmine\block\BlockFactory;
|
|||||||
|
|
||||||
class ItemFactoryTest extends TestCase{
|
class ItemFactoryTest extends TestCase{
|
||||||
|
|
||||||
/**
|
|
||||||
* Tests that blocks are considered to be valid registered items
|
|
||||||
*/
|
|
||||||
public function testItemBlockRegistered() : void{
|
|
||||||
for($id = 0; $id < 256; ++$id){
|
|
||||||
self::assertEquals(BlockFactory::getInstance()->isRegistered($id), ItemFactory::getInstance()->isRegistered($id));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test that durable items are correctly created by the item factory
|
* Test that durable items are correctly created by the item factory
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user