1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
Matthias Kretschmann 2022-10-04 15:57:58 +01:00
parent 63240799bd
commit 670db86195
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -178,7 +178,9 @@ describe('Nft Factory test', () => {
expect(txReceipt.events.DispenserCreated.event === 'DispenserCreated')
// allows dispensing for everybody
console.log(`DispenserCreated: ${txReceipt.events.DispenserCreated.returnValues}`)
console.log(
`DispenserCreated: ${txReceipt.events.DispenserCreated.returnValues.toString()}`
)
const allowedSwapper = txReceipt.events.DispenserCreated.returnValues[4]
console.log(`Allowed Swapper: ${allowedSwapper}`)
assert(allowedSwapper === ZERO_ADDRESS, 'ZERO_ADDRESS is not set as allowedSwapper')