From 42222d050db1e76c48b8fcbc5915fb2206bec097 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Wed, 24 Nov 2021 14:56:49 +0000 Subject: [PATCH] Remove test set_variable_meta_data_on_fungible_token_with_token_id_fails --- --- a/pallets/unique/src/tests.rs +++ b/pallets/unique/src/tests.rs @@ -2006,24 +2006,6 @@ } #[test] -fn set_variable_meta_data_on_fungible_token_with_token_id_fails() { - new_test_ext().execute_with(|| { - let collection_id = create_test_collection(&CollectionMode::Fungible(3), CollectionId(1)); - - let origin1 = Origin::signed(1); - - let data = default_fungible_data(); - create_test_item(collection_id, &data.into()); - - let variable_data = b"test data".to_vec(); - assert_noop!( - TemplateModule::set_variable_meta_data(origin1, collection_id, TokenId(1), variable_data).map_err(|e| e.error), - >::FungibleItemsHaveNoId - ); - }); -} - -#[test] fn set_variable_meta_data_on_nft_token_fails_for_big_data() { new_test_ext().execute_with(|| { let collection_id = create_test_collection(&CollectionMode::NFT, CollectionId(1)); -- gitstuff