Skip to content

Commit

Permalink
Update migration test following the small loss patch
Browse files Browse the repository at this point in the history
  • Loading branch information
chefnomi committed Sep 3, 2020
1 parent d76898b commit 2330037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Migrator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ contract('Migrator', ([alice, bob, dev, minter]) => {
await this.chef.withdraw('0', '2000000', { from: minter });
await this.lp2.transfer(this.lp2.address, '2000000', { from: minter });
await this.lp2.burn(bob);
assert.equal((await this.token.balanceOf(bob)).valueOf(), '9029203');
assert.equal((await this.weth.balanceOf(bob)).valueOf(), '451459');
assert.equal((await this.token.balanceOf(bob)).valueOf(), '9033718');
assert.equal((await this.weth.balanceOf(bob)).valueOf(), '451685');
});

it('should allow first minting from public only after migrator is gone', async () => {
Expand Down

0 comments on commit 2330037

Please sign in to comment.