git.delta.rocks / unique-network / refs/commits / e12df810b215

difftreelog

test(evm) using value with Option::None is not allowed

Yaroslav Bolyukin2023-08-30parent: #0ce92f0.patch.diff
in: master

1 file changed

modifiedtests/src/eth/collectionLimits.test.tsdiffbeforeafterboth
106106
107 // Cannot disable limits107 // Cannot disable limits
108 await expect(collectionEvm.methods108 await expect(collectionEvm.methods
109 .setCollectionLimit({field: CollectionLimitField.AccountTokenOwnership, value: {status: false, value: 200}})109 .setCollectionLimit({field: CollectionLimitField.AccountTokenOwnership, value: {status: false, value: 0}})
110 .call()).to.be.rejectedWith('user can\'t disable limits');110 .call()).to.be.rejectedWith('user can\'t disable limits');
111111
112 await expect(collectionEvm.methods112 await expect(collectionEvm.methods