Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pooltogether/pooltogether-contracts
Browse files Browse the repository at this point in the history
* 'master' of github.com:pooltogether/pooltogether-contracts:
  update MultipleWinners test
  test update
  • Loading branch information
asselstine committed Jul 16, 2021
2 parents 7f162f5 + 15cfc09 commit bfcc88b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/MultipleWinners.test.js
Expand Up @@ -437,7 +437,7 @@ describe('MultipleWinners', function() {
await prizeStrategy.distribute(90) // this hashes out to the same winner twice
})

it('should blocklist address and carry over the external ERC20 reward after awarding 2 winners', async () => {
it.only('should blocklist address and carry over the external ERC20 reward after awarding 2 winners', async () => {
await controller.call(ticket, 'controllerMint', wallet4.address, toWei('140'))
await prizeStrategy.setNumberOfWinners(3)

Expand All @@ -447,8 +447,7 @@ describe('MultipleWinners', function() {
await prizeStrategy.setSplitExternalErc20Awards(true)

let randomNumber = 10

await prizePool.mock.captureAwardBalance.returns(toWei('9'))
await prizePool.mock.captureAwardBalance.returns(toWei('0'))
await prizePool.mock.award.withArgs('0x70997970c51812dc3a010c7d01b50e0d17dc79c8', toWei('3'), ticket.address).returns()
await prizePool.mock.award.withArgs('0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', toWei('3'), ticket.address).returns()

Expand Down

0 comments on commit bfcc88b

Please sign in to comment.