From 0b4f8e5b6a03f4df8c12b7874bf4cecf1a6e2bf2 Mon Sep 17 00:00:00 2001 From: Shriya Tyagi Date: Tue, 19 Sep 2023 19:36:38 +0530 Subject: [PATCH] feat: update tests --- test/mainnet/morpho/morpho-aave-v3.test.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/mainnet/morpho/morpho-aave-v3.test.ts b/test/mainnet/morpho/morpho-aave-v3.test.ts index 1047e38d..a045a220 100644 --- a/test/mainnet/morpho/morpho-aave-v3.test.ts +++ b/test/mainnet/morpho/morpho-aave-v3.test.ts @@ -156,8 +156,8 @@ describe("Morpho-Aave-v3", function () { const spells = [ { connector: connectorName, - method: "depositOnBehalf", - args: [tokens.eth.address, "10000000000000000000", user, "0", "0"], // 1 ETH + method: "depositOnBehalfWithMaxIterations", + args: [tokens.eth.address, "10000000000000000000", user, 4, "0", "0"], // 1 ETH }, ]; @@ -254,8 +254,8 @@ describe("Morpho-Aave-v3", function () { const spells = [ { connector: connectorName, - method: "withdrawOnBehalf", - args: [tokens.eth.address, dsaMaxValue, dsaWallet0.address, user, "0", "0"], // Max ETH + method: "withdrawOnBehalfWithMaxIterations", + args: [tokens.eth.address, dsaMaxValue, dsaWallet0.address, user, 4, "0", "0"], // Max ETH }, ]; @@ -293,8 +293,8 @@ describe("Morpho-Aave-v3", function () { const spells = [ { connector: connectorName, - method: "borrowOnBehalf", - args: [tokens.eth.address, "200000000000000000", dsaWallet0.address, user, "0", "0"], // 0.7 WETH + method: "borrowOnBehalfWithMaxIterations", + args: [tokens.eth.address, "200000000000000000", dsaWallet0.address, user, 4, "0", "0"], // 0.7 WETH }, ];