Skip to content

Commit

Permalink
refactor: rename _user2 to _merchant2
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChin committed Nov 19, 2024
1 parent aaff5b7 commit 372063e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/integration/Grateful.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion test/integration/IntegrationBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 372063e

Please sign in to comment.