Skip to content

Commit

Permalink
change(pallet-assets): adjust tests to include make_insufficient
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Jan 16, 2024
1 parent 8a83b22 commit f5f1878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions substrate/frame/assets/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ fn insufficient_assets_can_turn_into_sufficient() {
assert_eq!(Assets::is_sufficient(0), false);
assert_ok!(Assets::make_sufficient(0));
assert_eq!(Assets::is_sufficient(0), true);
assert_ok!(Assets::make_insufficient(0));
assert_eq!(Assets::is_sufficient(0), false);
});
}

Expand Down

0 comments on commit f5f1878

Please sign in to comment.