mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
Fixed bogus test expectations
This commit is contained in:
parent
2121152b76
commit
263e1e9950
@ -107,7 +107,8 @@ class BlockStateUpgraderTest extends TestCase{
|
|||||||
$stateData = $getStateData();
|
$stateData = $getStateData();
|
||||||
$upgradedStateData = $this->upgrade($stateData, $getStateData);
|
$upgradedStateData = $this->upgrade($stateData, $getStateData);
|
||||||
|
|
||||||
self::assertSame($stateData, $upgradedStateData, "Adding a property that already exists with a different value should not alter the state");
|
//the object may not be the same due to
|
||||||
|
self::assertTrue($stateData->equals($upgradedStateData), "Adding a property that already exists with a different value should not alter the state");
|
||||||
}
|
}
|
||||||
|
|
||||||
private function prepareRemovePropertySchema(BlockStateUpgradeSchema $schema) : void{
|
private function prepareRemovePropertySchema(BlockStateUpgradeSchema $schema) : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user