fix helper name

pull/1844/head
Francisco Giordano 6 years ago
parent dc3242264b
commit 73798a8d1b
  1. 6
      test/gsn/GSNBouncerSignature.test.js

@ -23,7 +23,7 @@ contract('GSNBouncerSignature', function ([_, signer, other]) {
});
it('rejects unsigned relay requests', async function () {
await gsn.expectGSNError(this.recipient.mockFunction({ value: 0, useGSN: true }));
await gsn.expectError(this.recipient.mockFunction({ value: 0, useGSN: true }));
});
it('rejects relay requests where some parameters are signed', async function () {
@ -37,7 +37,7 @@ contract('GSNBouncerSignature', function ([_, signer, other]) {
)
);
await gsn.expectGSNError(this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction }));
await gsn.expectError(this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction }));
});
it('accepts relay requests where all parameters are signed', async function () {
@ -67,7 +67,7 @@ contract('GSNBouncerSignature', function ([_, signer, other]) {
)
);
await gsn.expectGSNError(this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction }));
await gsn.expectError(this.recipient.mockFunction({ value: 0, useGSN: true, approveFunction }));
});
});
});

Loading…
Cancel
Save