Skip to content

Commit

Permalink
missed some renames
Browse files Browse the repository at this point in the history
  • Loading branch information
hexonaut committed Aug 27, 2024
1 parent 2cb868b commit 65583eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/tests/pools/D3MAaveV3USDSNoSupplyCapTypePool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ contract DaiJoinMock {

}

contract NstJoinMock {
contract UsdsJoinMock {

TokenMock public usds;

Expand All @@ -199,7 +199,7 @@ contract D3MAaveV3USDSNoSupplyCapTypePoolTest is D3MPoolBaseTest {
FakeLendingPool aavePool;
DaiJoinMock daiJoin;
TokenMock usds;
NstJoinMock usdsJoin;
UsdsJoinMock usdsJoin;

D3MAaveV3USDSNoSupplyCapTypePool pool;

Expand All @@ -209,7 +209,7 @@ contract D3MAaveV3USDSNoSupplyCapTypePoolTest is D3MPoolBaseTest {
usds = new TokenMock(18);
ausds = new AToken(18);
daiJoin = new DaiJoinMock(dai);
usdsJoin = new NstJoinMock(usds);
usdsJoin = new UsdsJoinMock(usds);
ausds.mint(address(this), 1_000_000 ether);
aavePool = new FakeLendingPool(address(ausds), address(usds));
ausds.rely(address(aavePool));
Expand Down Expand Up @@ -257,7 +257,7 @@ contract D3MAaveV3USDSNoSupplyCapTypePoolTest is D3MPoolBaseTest {
}

function test_withdraw_calls_lending_pool_withdraw() public {
// make sure we have Nst to withdraw
// make sure we have Usds to withdraw
TokenMock(address(usds)).mint(address(aavePool), 1);

vm.prank(address(hub)); pool.withdraw(1);
Expand All @@ -268,7 +268,7 @@ contract D3MAaveV3USDSNoSupplyCapTypePoolTest is D3MPoolBaseTest {
}

function test_withdraw_calls_lending_pool_withdraw_vat_caged() public {
// make sure we have Nst to withdraw
// make sure we have Usds to withdraw
TokenMock(address(usds)).mint(address(aavePool), 1);

vat.cage();
Expand Down

0 comments on commit 65583eb

Please sign in to comment.