Skip to content

Commit

Permalink
fix minor error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Sep 16, 2021
1 parent 350c06d commit 099537b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/finance/PaymentSplitter.test.js
Expand Up @@ -111,7 +111,7 @@ contract('PaymentSplitter', function (accounts) {
);
});
it('reverts if non-payee want to claim', async function () {
await send.ether(payer1, this.contract.address, amount);
await this.token.transfer(this.contract.address, amount, { from: owner });
await expectRevert(this.contract.release(this.token.address, nonpayee1),
'PaymentSplitter: account has no shares',
);
Expand Down

0 comments on commit 099537b

Please sign in to comment.