From 771165188c51ee483529c89f0efa7df10ad6e2a3 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 2 May 2024 21:13:44 -0500 Subject: [PATCH] unwrap result in new test --- substrate/frame/staking/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/staking/src/tests.rs b/substrate/frame/staking/src/tests.rs index 862ed7b61954..ef405a4d8048 100644 --- a/substrate/frame/staking/src/tests.rs +++ b/substrate/frame/staking/src/tests.rs @@ -7015,7 +7015,7 @@ mod staking_interface { ); // Unbond all of the funds in stash. - Staking::chill(RuntimeOrigin::signed(11)); + Staking::chill(RuntimeOrigin::signed(11)).unwrap(); Staking::unbond(RuntimeOrigin::signed(11), 1000).unwrap(); assert_eq!( Staking::ledger(11.into()).unwrap(),