diff --git a/tests-integration/account.test.ts b/tests-integration/account.test.ts index 4943094..af609e0 100644 --- a/tests-integration/account.test.ts +++ b/tests-integration/account.test.ts @@ -14,7 +14,7 @@ describe("Escrow Account", function () { const { factory } = await setupGiftProtocol(); const { gift } = await defaultDepositTestSetup({ factory }); const escrowAddress = calculateEscrowAddress(gift); -// This says validate but calls execute? + await expectRevertWithErrorMessage("escrow/only-protocol", () => deployer.execute([{ contractAddress: escrowAddress, calldata: [0x0], entrypoint: "__validate__" }]), ); diff --git a/tests-integration/cancel.test.ts b/tests-integration/cancel.test.ts index 5362a79..54fc26b 100644 --- a/tests-integration/cancel.test.ts +++ b/tests-integration/cancel.test.ts @@ -70,7 +70,9 @@ describe("Cancel Gift", function () { it(`wrong sender`, async function () { const { factory } = await setupGiftProtocol(); const { gift } = await defaultDepositTestSetup({ factory }); - await expectRevertWithErrorMessage("escr-lib/wrong-sender", () => cancelGift({ gift, senderAccount: devnetAccount() })); + await expectRevertWithErrorMessage("escr-lib/wrong-sender", () => + cancelGift({ gift, senderAccount: devnetAccount() }), + ); }); it(`owner reclaim dust (gift_token == fee_token)`, async function () {