git.delta.rocks / unique-network / refs/commits / ecdc24706058

difftreelog

fix burnItem NFT unit test

Igor Kozyrev2021-11-01parent: #cec2b88.patch.diff
in: master

1 file changed

modifiedpallets/nft/src/tests.rsdiffbeforeafterboth
709 // burn item709 // burn item
710 assert_ok!(TemplateModule::burn_item(710 assert_ok!(TemplateModule::burn_item(
711 origin1.clone(),711 origin1.clone(),
712 collection_id,
712 1,713 1,
713 1,714 1
714 5
715 ));715 ));
716 assert_noop!(716 assert_noop!(
717 TemplateModule::burn_item(origin1, 1, 1, 5),717 TemplateModule::burn_item(origin1, collection_id, 1, 1),
718 Error::<Test>::TokenNotFound718 Error::<Test>::TokenNotFound
719 );719 );
720720