--- a/pallets/unique/src/mock.rs +++ b/pallets/unique/src/mock.rs @@ -193,6 +193,7 @@ } impl pallet_template::Config for Test { + type Event = (); type WeightInfo = (); } --- a/pallets/unique/src/tests.rs +++ b/pallets/unique/src/tests.rs @@ -2259,7 +2259,7 @@ new_test_ext().execute_with(|| { let origin1 = Origin::signed(1); - for i in 1..COLLECTION_NUMBER_LIMIT { + for i in 1..=COLLECTION_NUMBER_LIMIT { create_test_collection(&CollectionMode::NFT, CollectionId(i)); }