From 656bb9047d85e7b8048a19d53cb892bd1b00f862 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 20 May 2021 02:03:40 +0100 Subject: [PATCH] at-bundle: Test uploaded via otter(1) Signed-off-by: Ian Jackson --- apitest/at-bundles.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apitest/at-bundles.rs b/apitest/at-bundles.rs index 7fbb71c5..cf46b901 100644 --- a/apitest/at-bundles.rs +++ b/apitest/at-bundles.rs @@ -20,12 +20,8 @@ impl Ctx { "big-bundle","duped-example", "chess-purple-cannon", "a purple cannon", &mut |ctx| { - ctx.su().mgmt_conn.borrow_mut().alter_game( - vec![ MGI::ResetFromNamedSpec { - spec: "modded-spec".to_owned(), - }], - None, - )?; + let cmd = ctx.su().ds.ss("reset @table@ modded-spec")?; + ctx.reset_game(&cmd)?; let alice = ctx.connect_player(&ctx.alice)?; let pieces = alice.pieces::()?; -- 2.30.2