correct assert

This commit is contained in:
Michele Balistreri 2020-04-30 08:34:24 +03:00
parent 1e5c35c8e9
commit 3062b69502
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
2 changed files with 2 additions and 2 deletions

View File

@ -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 () {

View File

@ -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);
});