difftreelog
fix unit tests
in: master
1 file changed
runtime/tests/src/tests.rsdiffbeforeafterboth168168169fn 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()