mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-13 05:19:59 +00:00
Add workaround for inventory method test failure
This commit is contained in:
parent
b9a002586c
commit
cd9840d1c1
@ -78,6 +78,10 @@ class Inventory_Test {
|
||||
*/
|
||||
@GameTest
|
||||
fun Double_chest_size(helper: GameTestHelper) = helper.sequence {
|
||||
// FIXME: There's several ticks at the start of this test, where the chest sends block updates, which causes the
|
||||
// peripheral to be (re)created. Wait for those to expire.
|
||||
thenIdle(2)
|
||||
|
||||
thenOnComputer {
|
||||
getApi<PeripheralAPI>().call(context, ObjectArguments("left", "size")).await()
|
||||
.assertArrayEquals(54, message = "Has 54 slots")
|
||||
|
Loading…
Reference in New Issue
Block a user