Skip to content

Commit 513751e

Browse files
committed
tests: run do_try_state in the mock
1 parent c4d7de6 commit 513751e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

substrate/frame/psm/src/mock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ impl ExtBuilder {
271271
));
272272
}
273273
test();
274+
crate::Pallet::<Test>::do_try_state().expect("try_state post-condition failed");
274275
});
275276
}
276277
}

0 commit comments

Comments
 (0)