mirror of
https://github.com/status-im/keycard-redeem.git
synced 2025-02-28 03:40:33 +00:00
correct assert
This commit is contained in:
parent
1e5c35c8e9
commit
3062b69502
@ -158,7 +158,7 @@ contract("ERC20Bucket", function () {
|
||||
|
||||
it("return correct bucket type", async function () {
|
||||
let bucketType = await ERC20Bucket.methods.bucketType().call();
|
||||
assert(parseInt(bucketType), 20);
|
||||
assert.equal(parseInt(bucketType), 20);
|
||||
});
|
||||
|
||||
it("shop buys 100 tokens", async function () {
|
||||
|
@ -159,7 +159,7 @@ contract("NFTBucket", function () {
|
||||
|
||||
it("return correct bucket type", async function () {
|
||||
let bucketType = await NFTBucket.methods.bucketType().call();
|
||||
assert(parseInt(bucketType), 721);
|
||||
assert.equal(parseInt(bucketType), 721);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user