Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Generic Assets Tests
  • Loading branch information
shawntabrizi committed Mar 30, 2020
commit bd3b90b800fe190f392af03b4ec52cbe93da1352
3 changes: 3 additions & 0 deletions frame/generic-asset/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,7 @@ fn update_permission_should_raise_event() {
.free_balance((staking_asset_id, origin, initial_balance))
.build()
.execute_with(|| {
System::set_block_number(1);
assert_ok!(GenericAsset::create(
Origin::signed(origin),
AssetOptions {
Expand Down Expand Up @@ -1157,6 +1158,7 @@ fn mint_should_raise_event() {
.free_balance((staking_asset_id, origin, initial_balance))
.build()
.execute_with(|| {
System::set_block_number(1);
assert_ok!(GenericAsset::create(
Origin::signed(origin),
AssetOptions {
Expand Down Expand Up @@ -1195,6 +1197,7 @@ fn burn_should_raise_event() {
.free_balance((staking_asset_id, origin, initial_balance))
.build()
.execute_with(|| {
System::set_block_number(1);
assert_ok!(GenericAsset::create(
Origin::signed(origin),
AssetOptions {
Expand Down