Skip to content

Commit

Permalink
update custom error
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Jan 30, 2025
1 parent 7ace1cf commit 6067c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/payment/mc-payment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe("MC Payment Contract", () => {
expect(signer).to.be.eq(issuer1Signer.address);
});

it("Check payment:", async () => {
it("Check payment", async () => {
const paymentData = {
recipient: issuer1Signer.address,
amount: 100,
Expand Down Expand Up @@ -100,7 +100,7 @@ describe("MC Payment Contract", () => {
// second issuer withdraw
await expect(payment.connect(issuer1Signer).issuerWithdraw()).to.be.revertedWithCustomError(
payment,
"WithdrawError",
"WithdrawErrorNoBalance",
);

const issuer1BalanceAfterWithdraw = await payment.getBalance(issuer1Signer.address);
Expand Down

0 comments on commit 6067c53

Please sign in to comment.