mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-14 05:44:52 +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
|
@GameTest
|
||||||
fun Double_chest_size(helper: GameTestHelper) = helper.sequence {
|
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 {
|
thenOnComputer {
|
||||||
getApi<PeripheralAPI>().call(context, ObjectArguments("left", "size")).await()
|
getApi<PeripheralAPI>().call(context, ObjectArguments("left", "size")).await()
|
||||||
.assertArrayEquals(54, message = "Has 54 slots")
|
.assertArrayEquals(54, message = "Has 54 slots")
|
||||||
|
Loading…
Reference in New Issue
Block a user