git.delta.rocks / unique-network / refs/commits / 0af2be845e4b

difftreelog

fix limit enum name

Yaroslav Bolyukin2022-12-22parent: #b42809f.patch.diff
in: master

1 file changed

modifiedtests/src/eth/collectionLimits.test.tsdiffbeforeafterboth
102 // Cannot set non-existing limit102 // Cannot set non-existing limit
103 await expect(collectionEvm.methods103 await expect(collectionEvm.methods
104 .setCollectionLimit({field: 9, value: {status: true, value: 1}})104 .setCollectionLimit({field: 9, value: {status: true, value: 1}})
105 .call()).to.be.rejectedWith('Returned error: VM Exception while processing transaction: revert Value not convertible into enum "CollectionLimits"');105 .call()).to.be.rejectedWith('Returned error: VM Exception while processing transaction: revert Value not convertible into enum "CollectionLimitField"');
106106
107 // Cannot disable limits107 // Cannot disable limits
108 await expect(collectionEvm.methods108 await expect(collectionEvm.methods