Skip to content

Commit b4c0917

Browse files
committed
rename to currency id
1 parent 440873d commit b4c0917

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tokens/src/tests_fungibles.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,10 @@ fn fungibles_balanced_issue_works() {
354354
let new_total_issuance = <Tokens as fungibles::Inspect<_>>::total_issuance(DOT);
355355
assert_eq!(old_total_issuance + amount, new_total_issuance);
356356

357-
System::assert_last_event(RuntimeEvent::Tokens(crate::Event::Issued { asset: DOT, amount }));
357+
System::assert_last_event(RuntimeEvent::Tokens(crate::Event::Issued {
358+
currency_id: DOT,
359+
amount,
360+
}));
358361
});
359362
}
360363

@@ -373,7 +376,10 @@ fn fungibles_balanced_rescind_works() {
373376
let new_total_issuance = <Tokens as fungibles::Inspect<_>>::total_issuance(DOT);
374377
assert_eq!(old_total_issuance - amount, new_total_issuance);
375378

376-
System::assert_last_event(RuntimeEvent::Tokens(crate::Event::Rescinded { asset: DOT, amount }));
379+
System::assert_last_event(RuntimeEvent::Tokens(crate::Event::Rescinded {
380+
currency_id: DOT,
381+
amount,
382+
}));
377383
});
378384
}
379385

0 commit comments

Comments
 (0)