From 8df8e96cac263857eb9110468153847ebb15950e Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Thu, 09 Mar 2023 09:25:42 +0000 Subject: [PATCH] fix: PR --- --- a/pallets/nonfungible/src/lib.rs +++ b/pallets/nonfungible/src/lib.rs @@ -1087,10 +1087,10 @@ collection: &NonfungibleHandle, token: TokenId, ) -> Result, DispatchError> { - ensure! { - >::get((collection.id, token)).is_some() - ,>::TokenNotFound - }; + ensure!( + >::get((collection.id, token)).is_some(), + >::TokenNotFound + ); Ok(>::get((collection.id, token))) } --- a/tests/src/eth/nonFungible.test.ts +++ b/tests/src/eth/nonFungible.test.ts @@ -219,7 +219,7 @@ } }); - itEth.only('Can perform approve()', async ({helper}) => { + itEth('Can perform approve()', async ({helper}) => { const owner = await helper.eth.createAccountWithBalance(donor); const spender = helper.eth.createAccount(); -- gitstuff