Skip to content

Commit

Permalink
Merge pull request #99 from cbruguera/feature/test_fix
Browse files Browse the repository at this point in the history
[Bug fix] Fixed error on crowdsale testing
  • Loading branch information
cbruguera committed Jul 12, 2018
2 parents f67c61c + 286d908 commit 6752990
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/SelfKeyCrowdsale_test.js
Expand Up @@ -439,7 +439,7 @@ contract('SelfKeyCrowdsale', accounts => {

// check sender has enough tokens
const senderBalance = await tokenContract.balanceOf(sender)
assert.isAtLeast(senderBalance, sendAmount)
assert.isAtLeast(senderBalance.toNumber(), sendAmount)

// test transfer method
let receiverBalance1 = await tokenContract.balanceOf.call(receiver)
Expand Down

0 comments on commit 6752990

Please sign in to comment.