Skip to content

Commit

Permalink
[#4] Update test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jul 3, 2023
1 parent ccf7c6e commit b9734c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/SafeProtocolMediator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ describe("SafeProtocolMediator", async () => {
);
});

it("Should process a SafeTransaction", async function () {
it("Should process a SafeTransaction and transfer ETH from safe to an EOA", async function () {
const { safeProtocolMediator, safe } = await loadFixture(deployContractsFixture);

// Enable module
Expand Down Expand Up @@ -301,7 +301,7 @@ describe("SafeProtocolMediator", async () => {
await expect(tx).to.emit(safeProtocolMediator, "ActionsExecuted").withArgs(safeAddress, safeTx.metaHash, 1);
});

it("Should fail to process a SafeTransaction", async function () {
it("Should revert with ActionExecutionFailed error if Safe doesn't have enough ETH balance", async function () {
const { safeProtocolMediator, safe } = await loadFixture(deployContractsFixture);

// Enable module
Expand Down Expand Up @@ -379,7 +379,7 @@ describe("SafeProtocolMediator", async () => {
);
});

it("Should revert with ModuleRequiresRootAccess", async () => {
it("Should revert with ModuleRequiresRootAccess if module indicates it doesn't need root access anymore", async () => {
const { safeProtocolMediator, safe } = await loadFixture(deployContractsFixture);

const testFallbackReceiver = await (await hre.ethers.getContractFactory("TestFallbackReceiver")).deploy(user1.address);
Expand Down

0 comments on commit b9734c1

Please sign in to comment.