Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Silva committed Feb 6, 2018
1 parent 2c1fe47 commit 09ab6f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/Fund.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ contract('Fund', function ([ownerWallet, investmentWallet, wallet, purchaser]) {
let tokenAmount = 1000;
let weiValue = tokenAmount * nav;

//await mockPurchase(tokenAmount, nav)
await fund.purchase({ from: purchaser, value: weiValue })
await fund.processPurchase(nav, purchaser, { value: weiValue });
await mockPurchase(tokenAmount, nav)

let sellTokens = 100;

Expand Down

0 comments on commit 09ab6f1

Please sign in to comment.