--- 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();