From 372063eaa41105fbe7fed570fc059d0f42bbe26d Mon Sep 17 00:00:00 2001 From: 0xchin Date: Tue, 19 Nov 2024 12:40:35 -0300 Subject: [PATCH] refactor: rename _user2 to _merchant2 --- test/integration/Grateful.t.sol | 4 ++-- test/integration/IntegrationBase.sol | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/Grateful.t.sol b/test/integration/Grateful.t.sol index c92ea7a..f747e71 100644 --- a/test/integration/Grateful.t.sol +++ b/test/integration/Grateful.t.sol @@ -50,7 +50,7 @@ contract IntegrationGrateful is IntegrationBase { IERC20 token = IERC20(tokenAddr); // Flow correctly works only if vault has any deposit - _approveAndPay(_user, _user2, tokenAddr, amount, _YIELDING_FUNDS); + _approveAndPay(_user, _merchant2, tokenAddr, amount, _YIELDING_FUNDS); // Capture owner's initial balance before payment uint256 ownerInitialBalance = token.balanceOf(_owner); @@ -203,7 +203,7 @@ contract IntegrationGrateful is IntegrationBase { IERC20 token = IERC20(tokenAddr); // Flow correctly works only if vault has any deposit - _approveAndPay(_user, _user2, tokenAddr, 1, _YIELDING_FUNDS); + _approveAndPay(_user, _merchant2, tokenAddr, 1, _YIELDING_FUNDS); // Capture owner's initial balance before payment uint256 ownerInitialBalance = token.balanceOf(_owner); diff --git a/test/integration/IntegrationBase.sol b/test/integration/IntegrationBase.sol index 29849d1..7c429ed 100644 --- a/test/integration/IntegrationBase.sol +++ b/test/integration/IntegrationBase.sol @@ -37,8 +37,8 @@ contract IntegrationBase is Test, Deploy { // EOAs address internal _user = makeAddr("user"); - address internal _user2 = makeAddr("user2"); address internal _merchant = makeAddr("merchant"); + address internal _merchant2 = makeAddr("user2"); address internal _owner = makeAddr("owner"); address internal _gratefulAutomation = makeAddr("gratefulAutomation");