From 7b97ed9bef888d83a28aad00cc164f3046368349 Mon Sep 17 00:00:00 2001 From: CJ42 Date: Tue, 19 Sep 2023 11:25:52 +0100 Subject: [PATCH] test: change back param name from `allowNonLSP1Recipient` to `force` --- .../Interactions/BatchExecute.test.ts | 2 +- .../LSP7CompatibleERC20.behaviour.ts | 84 ++++----- .../LSP7DigitalAsset.behaviour.ts | 162 ++++++++---------- .../LSP7Mintable.behaviour.ts | 2 +- .../LSP8CompatibleERC721.behaviour.ts | 34 +--- .../LSP8IdentifiableDigitalAsset.behaviour.ts | 151 +++++++--------- .../LSP8Mintable.behaviour.ts | 2 +- 7 files changed, 188 insertions(+), 249 deletions(-) diff --git a/tests/LSP6KeyManager/Interactions/BatchExecute.test.ts b/tests/LSP6KeyManager/Interactions/BatchExecute.test.ts index 336e5fe95..0e99eaa92 100644 --- a/tests/LSP6KeyManager/Interactions/BatchExecute.test.ts +++ b/tests/LSP6KeyManager/Interactions/BatchExecute.test.ts @@ -327,7 +327,7 @@ export const shouldBehaveLikeBatchExecute = ( [sender, sender, sender], // address[] memory from, recipients, // address[] memory to, amounts, // uint256[] memory amount, - [true, true, true], // bool[] memory allowNonLSP1Recipient, + [true, true, true], // bool[] memory force, ['0x', '0x', '0x'], // bytes[] memory data ]); diff --git a/tests/LSP7DigitalAsset/LSP7CompatibleERC20.behaviour.ts b/tests/LSP7DigitalAsset/LSP7CompatibleERC20.behaviour.ts index 49c673d57..831a6ad1e 100644 --- a/tests/LSP7DigitalAsset/LSP7CompatibleERC20.behaviour.ts +++ b/tests/LSP7DigitalAsset/LSP7CompatibleERC20.behaviour.ts @@ -422,7 +422,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( from: string; to: string; amount: BigNumber; - allowNonLSP1Recipient?: boolean; + force?: boolean; data?: string; }; @@ -450,7 +450,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient ?? true, + txParams.force ?? true, expectedData, ); @@ -810,13 +810,13 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( describe('when caller (msg.sender) is the `from` address', () => { describe('when `to` is an EOA', () => { - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = true', async () => { + it('should allow transfering the tokens with `force` param = true', async () => { const txParams = { operator: context.accounts.owner, from: context.accounts.owner.address, to: context.accounts.tokenReceiver.address, amount: transferAmount, - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -829,20 +829,20 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, ); }); - it('should NOT allow transfering the tokens with `allowNonLSP1Recipient` param = false', async () => { + it('should NOT allow transfering the tokens with `force` param = false', async () => { const txParams = { operator: context.accounts.owner, from: context.accounts.owner.address, to: context.accounts.tokenReceiver.address, amount: transferAmount, - allowNonLSP1Recipient: false, + force: false, data: expectedData, }; @@ -856,7 +856,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), ) @@ -874,13 +874,13 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( describe('when `to` is a contract', () => { describe('when receiving contract supports LSP1', () => { - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = true', async () => { + it('should allow transfering the tokens with `force` param = true', async () => { const txParams = { operator: context.accounts.owner, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -893,20 +893,20 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, ); }); - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = false', async () => { + it('should allow transfering the tokens with `force` param = false', async () => { const txParams = { operator: context.accounts.owner, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: false, + force: false, data: expectedData, }; @@ -919,7 +919,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, @@ -928,13 +928,13 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( }); describe('when receiving contract does not support LSP1', () => { - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = true', async () => { + it('should allow transfering the tokens with `force` param = true', async () => { const txParams = { operator: context.accounts.owner, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithoutLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -947,20 +947,20 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, ); }); - it('should NOT allow transfering the tokens with `allowNonLSP1Recipient` param = false', async () => { + it('should NOT allow transfering the tokens with `force` param = false', async () => { const txParams = { operator: context.accounts.owner, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithoutLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: false, + force: false, data: expectedData, }; @@ -974,7 +974,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), ) @@ -994,13 +994,13 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( describe('when caller (msg.sender) is an operator (= Not the `from` address)', () => { describe('when `to` is an EOA', () => { - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = true', async () => { + it('should allow transfering the tokens with `force` param = true', async () => { const txParams = { operator: context.accounts.operator, from: context.accounts.owner.address, to: context.accounts.tokenReceiver.address, amount: transferAmount, - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -1013,20 +1013,20 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, ); }); - it('should NOT allow transfering the tokens with `allowNonLSP1Recipient` param = false', async () => { + it('should NOT allow transfering the tokens with `force` param = false', async () => { const txParams = { operator: context.accounts.operator, from: context.accounts.owner.address, to: context.accounts.tokenReceiver.address, amount: transferAmount, - allowNonLSP1Recipient: false, + force: false, data: expectedData, }; @@ -1040,7 +1040,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), ) @@ -1058,13 +1058,13 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( describe('when `to` is a contract', () => { describe('when receiving contract supports LSP1', () => { - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = true', async () => { + it('should allow transfering the tokens with `force` param = true', async () => { const txParams = { operator: context.accounts.operator, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -1077,20 +1077,20 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, ); }); - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = false', async () => { + it('should allow transfering the tokens with `force` param = false', async () => { const txParams = { operator: context.accounts.operator, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: false, + force: false, data: expectedData, }; @@ -1103,7 +1103,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, @@ -1112,13 +1112,13 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( }); describe('when receiving contract does not support LSP1', () => { - it('should allow transfering the tokens with `allowNonLSP1Recipient` param = true', async () => { + it('should allow transfering the tokens with `force` param = true', async () => { const txParams = { operator: context.accounts.operator, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithoutLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -1131,20 +1131,20 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), expectedData, ); }); - it('should NOT allow transfering the tokens with `allowNonLSP1Recipient` param = false', async () => { + it('should NOT allow transfering the tokens with `force` param = false', async () => { const txParams = { operator: context.accounts.operator, from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithoutLSP1.address, amount: transferAmount, - allowNonLSP1Recipient: false, + force: false, data: expectedData, }; @@ -1158,7 +1158,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), ) @@ -1189,7 +1189,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithoutLSP1.address, amount: ownerBalance.add(1), - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -1203,7 +1203,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), ) @@ -1230,7 +1230,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( from: context.accounts.owner.address, to: deployedContracts.tokenReceiverWithoutLSP1.address, amount: ownerBalance.add(1), - allowNonLSP1Recipient: true, + force: true, data: expectedData, }; @@ -1244,7 +1244,7 @@ export const shouldBehaveLikeLSP7CompatibleERC20 = ( txParams.from, txParams.to, txParams.amount, - txParams.allowNonLSP1Recipient, + txParams.force, txParams.data, ), ) diff --git a/tests/LSP7DigitalAsset/LSP7DigitalAsset.behaviour.ts b/tests/LSP7DigitalAsset/LSP7DigitalAsset.behaviour.ts index e6f17645a..d965032e1 100644 --- a/tests/LSP7DigitalAsset/LSP7DigitalAsset.behaviour.ts +++ b/tests/LSP7DigitalAsset/LSP7DigitalAsset.behaviour.ts @@ -79,35 +79,35 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise { describe('when `amount == 0`', () => { - it('should revert if `allowNonLSP1Recipient == false`', async () => { + it('should revert if `force == false`', async () => { const txParams = { to: context.accounts.anotherTokenReceiver.address, amount: 0, - allowNonLSP1Recipient: false, + force: false, data: '0x', }; await expect( context.lsp7 .connect(context.accounts.anyone) - .mint(txParams.to, txParams.amount, txParams.allowNonLSP1Recipient, txParams.data), + .mint(txParams.to, txParams.amount, txParams.force, txParams.data), ) .to.be.revertedWithCustomError(context.lsp7, 'LSP7NotifyTokenReceiverIsEOA') .withArgs(txParams.to); }); - it('should pass if `allowNonLSP1Recipient == true`', async () => { + it('should pass if `force == true`', async () => { const txParams = { to: context.accounts.anotherTokenReceiver.address, amount: 0, - allowNonLSP1Recipient: true, + force: true, data: '0x', }; await expect( context.lsp7 .connect(context.accounts.anyone) - .mint(txParams.to, txParams.amount, txParams.allowNonLSP1Recipient, txParams.data), + .mint(txParams.to, txParams.amount, txParams.force, txParams.data), ) .to.emit(context.lsp7, 'Transfer') .withArgs( @@ -115,7 +115,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise Promise { // pre-conditions @@ -846,12 +836,10 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise { - const allowNonLSP1Recipient = true; + describe('when using force=true', () => { + const force = true; const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer with allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer with force'), ); describe('when `to` is an EOA', () => { @@ -902,7 +890,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise Promise Promise { - const allowNonLSP1Recipient = false; + describe('when force=false', () => { + const force = false; const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer without allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer without force'), ); describe('when `to` is an EOA', () => { @@ -988,7 +976,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise Promise Promise Promise Promise Promise Promise { - it('should revert with `allowNonLSP1Recipient == false`', async () => { + it('should revert with `force == false`', async () => { const caller = context.accounts.anyone; const txParams = { from: context.accounts.anyone.address, to: context.accounts.anotherTokenReceiver.address, amount: ethers.BigNumber.from(0), - allowNonLSP1Recipient: false, + force: false, data: '0x', }; @@ -1168,7 +1156,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise { + it('should pass with `force == true`', async () => { const caller = context.accounts.anyone; const txParams = { from: context.accounts.anyone.address, to: context.accounts.anotherTokenReceiver.address, amount: ethers.BigNumber.from(0), - allowNonLSP1Recipient: true, + force: true, data: '0x', }; @@ -1198,7 +1186,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise Promise { // pre-conditions @@ -1309,7 +1297,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise { @@ -1320,7 +1308,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise { if (expectedError.args.length > 0) await expect( - context.lsp7 - .connect(operator) - .transferBatch(from, to, amount, allowNonLSP1Recipient, data), + context.lsp7.connect(operator).transferBatch(from, to, amount, force, data), ) .to.be.revertedWithCustomError(context.lsp7, expectedError.error) .withArgs(...expectedError.args); else await expect( - context.lsp7 - .connect(operator) - .transferBatch(from, to, amount, allowNonLSP1Recipient, data), + context.lsp7.connect(operator).transferBatch(from, to, amount, force, data), ).to.be.revertedWithCustomError(context.lsp7, expectedError.error); }; @@ -1388,9 +1372,9 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise { + describe('when force=true', () => { const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer with allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer with force'), ); describe('when `to` is an EOA', () => { @@ -1400,7 +1384,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise Promise { + describe('when force=false', () => { const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer without allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer without force'), ); describe('when `to` is an EOA', () => { @@ -1501,7 +1485,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise { + describe('when force is mixed(true/false) respectively', () => { const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer without allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer without force'), ); describe('when `to` is an EOA', () => { @@ -1568,7 +1552,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise { - it('should pass regardless of allowNonLSP1Recipient params', async () => { + it('should pass regardless of force params', async () => { const txParams = { from: [context.accounts.owner.address, context.accounts.owner.address], to: [ @@ -1612,7 +1596,7 @@ export const shouldBehaveLikeLSP7 = (buildContext: () => Promise Promise Promise Promise Promise Promise { // pre-conditions @@ -749,14 +749,7 @@ export const shouldBehaveLikeLSP8CompatibleERC721 = ( context.lsp8CompatibleERC721, 'Transfer(address,address,address,bytes32,bool,bytes)', ) - .withArgs( - operator, - from, - to, - tokenIdAsBytes32(tokenId), - allowNonLSP1Recipient, - expectedData, - ); + .withArgs(operator, from, to, tokenIdAsBytes32(tokenId), force, expectedData); await expect(tx) .to.emit(context.lsp8CompatibleERC721, 'Transfer(address,address,uint256)') @@ -773,7 +766,7 @@ export const shouldBehaveLikeLSP8CompatibleERC721 = ( describe('transferFrom', () => { const transferFn = 'transferFrom'; - const allowNonLSP1Recipient = true; + const force = true; const expectedData = ethers.utils.hexlify(ethers.utils.toUtf8Bytes('')); describe('when the from address is the tokenId owner', () => { @@ -786,12 +779,7 @@ export const shouldBehaveLikeLSP8CompatibleERC721 = ( tokenId: mintedTokenId, }; - await transferSuccessScenario( - txParams, - transferFn, - allowNonLSP1Recipient, - expectedData, - ); + await transferSuccessScenario(txParams, transferFn, force, expectedData); }); }); @@ -805,12 +793,7 @@ export const shouldBehaveLikeLSP8CompatibleERC721 = ( tokenId: mintedTokenId, }; - await transferSuccessScenario( - txParams, - transferFn, - allowNonLSP1Recipient, - expectedData, - ); + await transferSuccessScenario(txParams, transferFn, force, expectedData); }); }); @@ -823,12 +806,7 @@ export const shouldBehaveLikeLSP8CompatibleERC721 = ( tokenId: mintedTokenId, }; - await transferSuccessScenario( - txParams, - transferFn, - allowNonLSP1Recipient, - expectedData, - ); + await transferSuccessScenario(txParams, transferFn, force, expectedData); }); }); }); diff --git a/tests/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.behaviour.ts b/tests/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.behaviour.ts index 05be3dd17..ecf3bb2f1 100644 --- a/tests/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.behaviour.ts +++ b/tests/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.behaviour.ts @@ -83,17 +83,12 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise Promise { // pre-conditions @@ -692,12 +677,10 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise { - const allowNonLSP1Recipient = true; + describe('when using force=true', () => { + const force = true; const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer with allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer with force'), ); describe('when `to` is an EOA', () => { @@ -750,7 +733,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise Promise Promise Promise Promise Promise { - const allowNonLSP1Recipient = false; + describe('when force=false', () => { + const force = false; const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer without allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer without force'), ); describe('when `to` is an EOA', () => { @@ -860,7 +843,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise Promise Promise Promise Promise Promise Promise Promise Promise Promise Promise Promise { // pre-conditions @@ -1107,7 +1090,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise { @@ -1118,7 +1101,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise { @@ -1164,18 +1147,12 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise 0) - await expect( - context.lsp8 - .connect(operator) - .transferBatch(from, to, tokenId, allowNonLSP1Recipient, data), - ) + await expect(context.lsp8.connect(operator).transferBatch(from, to, tokenId, force, data)) .to.be.revertedWithCustomError(context.lsp8, expectedError.error) .withArgs(...expectedError.args); else await expect( - context.lsp8 - .connect(operator) - .transferBatch(from, to, tokenId, allowNonLSP1Recipient, data), + context.lsp8.connect(operator).transferBatch(from, to, tokenId, force, data), ).to.be.revertedWithCustomError(context.lsp8, expectedError.error); }; @@ -1186,9 +1163,9 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise { + describe('when force=true', () => { const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer with allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer with force'), ); describe('when `to` is an EOA', () => { @@ -1198,7 +1175,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise Promise Promise { + describe('when force=false', () => { const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer without allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer without force'), ); describe('when `to` is an EOA', () => { @@ -1297,7 +1274,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise Promise { + describe('when force is mixed(true/false) respectively', () => { const data = ethers.utils.hexlify( - ethers.utils.toUtf8Bytes('doing a transfer without allowNonLSP1Recipient'), + ethers.utils.toUtf8Bytes('doing a transfer without force'), ); describe('when `to` is an EOA', () => { @@ -1364,7 +1341,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise { - it('should pass regardless of allowNonLSP1Recipient params', async () => { + it('should pass regardless of force params', async () => { const txParams = { from: [context.accounts.owner.address, context.accounts.owner.address], to: [ @@ -1408,7 +1385,7 @@ export const shouldBehaveLikeLSP8 = (buildContext: () => Promise Promise Promise Promise Promise