inLogs no longer returns a promise. (#1169)
This commit is contained in:
committed by
Matt Condon
parent
4066b5e683
commit
31fc572abe
@ -43,7 +43,7 @@ contract('RefundEscrow', function ([_, owner, beneficiary, refundee1, refundee2]
|
||||
|
||||
const receipt = await this.escrow.close({ from: owner });
|
||||
|
||||
await expectEvent.inLogs(receipt.logs, 'Closed');
|
||||
expectEvent.inLogs(receipt.logs, 'Closed');
|
||||
});
|
||||
|
||||
context('closed state', function () {
|
||||
@ -75,7 +75,7 @@ contract('RefundEscrow', function ([_, owner, beneficiary, refundee1, refundee2]
|
||||
|
||||
const receipt = await this.escrow.enableRefunds({ from: owner });
|
||||
|
||||
await expectEvent.inLogs(receipt.logs, 'RefundsEnabled');
|
||||
expectEvent.inLogs(receipt.logs, 'RefundsEnabled');
|
||||
});
|
||||
|
||||
context('refund state', function () {
|
||||
|
||||
Reference in New Issue
Block a user