git.delta.rocks / unique-network / refs/commits / 6b27551b8094

difftreelog

fix unit tests

Daniel Shiposha2023-10-02parent: #eebd0e2.patch.diff
in: master

1 file changed

modifiedruntime/tests/src/tests.rsdiffbeforeafterboth
168168
169fn get_token_properties(collection_id: CollectionId, token_id: TokenId) -> Vec<Property> {169fn get_token_properties(collection_id: CollectionId, token_id: TokenId) -> Vec<Property> {
170 <pallet_nonfungible::Pallet<Test>>::token_properties((collection_id, token_id))170 <pallet_nonfungible::Pallet<Test>>::token_properties((collection_id, token_id))
171 .unwrap_or_default()
171 .into_iter()172 .into_iter()
172 .map(|(key, value)| Property { key, value })173 .map(|(key, value)| Property { key, value })
173 .collect()174 .collect()