Skip to content

Commit 03950ba

Browse files
committed
fix: fix error message
1 parent 56d85a5 commit 03950ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/payment-processor/test/payment/single-request-forwarder.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ describe('payWithEthereumSingleRequestProxy', () => {
308308

309309
await expect(
310310
payWithEthereumSingleRequestForwarder(proxyAddress, wallet, '1000'),
311-
).rejects.toThrow('Contract is not an EthereumSingleRequestProxy');
311+
).rejects.toThrow('Contract is not an EthereumSingleRequestForwarder');
312312
});
313313

314314
it('should successfully pay with ETH', async () => {
@@ -338,7 +338,7 @@ describe('payWithERC20SingleRequestProxy', () => {
338338
const proxyAddress = await deploySingleRequestForwarder(ethRequest, wallet);
339339

340340
await expect(payWithERC20SingleRequestForwarder(proxyAddress, wallet, '1000')).rejects.toThrow(
341-
'Contract is not an ERC20SingleRequestProxy',
341+
'Contract is not an ERC20SingleRequestForwarder',
342342
);
343343
});
344344

0 commit comments

Comments
 (0)