From: Ian Jackson Date: Sat, 27 Feb 2021 20:53:58 +0000 (+0000) Subject: hidden test: Use api_with_piece_op X-Git-Tag: otter-0.4.0~292 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3c7f3430313292330c2a0df59c2521f9d2191b87;p=otter.git hidden test: Use api_with_piece_op Now that it works... Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 4a2e78cc..4b52b96d 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -335,7 +335,7 @@ impl Ctx { .into_inner().unwrap(); dbg!(&hand); - session.api_piece_op(&self.su, &hand.id, "k", json!({ + session.api_with_piece_op(&self.su, &hand.id, "k", json!({ "opname": "claim", "wrc": "Unpredictable", }))?;