From 055622b1e43d55015a3a55db02995c1449751149 Mon Sep 17 00:00:00 2001 From: str-mv Date: Fri, 03 Dec 2021 08:21:14 +0000 Subject: [PATCH] Unit tests fixed --- --- 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)); } -- gitstuff