difftreelog
fix PR
in: master
2 files changed
pallets/nonfungible/src/lib.rsdiffbeforeafterboth1087 collection: &NonfungibleHandle<T>,1087 collection: &NonfungibleHandle<T>,1088 token: TokenId,1088 token: TokenId,1089 ) -> Result<Option<T::CrossAccountId>, DispatchError> {1089 ) -> Result<Option<T::CrossAccountId>, DispatchError> {1090 ensure! {1090 ensure!(1091 <TokenData<T>>::get((collection.id, token)).is_some()1091 <TokenData<T>>::get((collection.id, token)).is_some(),1092 ,<CommonError<T>>::TokenNotFound1092 <CommonError<T>>::TokenNotFound1093 };1093 );1094 Ok(<Allowance<T>>::get((collection.id, token)))1094 Ok(<Allowance<T>>::get((collection.id, token)))1095 }1095 }10961096tests/src/eth/nonFungible.test.tsdiffbeforeafterboth--- 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();