Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Shumo Chu <shumo.chu@protonmail.com>
  • Loading branch information
stechu committed Mar 9, 2022
1 parent 95309e0 commit dc4a4bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/manta-pay/src/test/payment.rs
Expand Up @@ -292,11 +292,11 @@ fn mint_should_work() {
let mut rng = thread_rng();
new_test_ext().execute_with(|| {
let asset_id = rng.gen();
let total_supply = rng.gen();
initialize_test(asset_id, total_supply);
let total_free_supply = rng.gen();
initialize_test(asset_id, total_free_supply + 1);
mint_tokens(
asset_id,
&value_distribution(5, total_supply, &mut rng),
&value_distribution(5, total_free_supply, &mut rng),
&mut rng,
);
});
Expand Down

0 comments on commit dc4a4bb

Please sign in to comment.