Skip to content

Commit 6d39517

Browse files
test: Factory test created to run all against USDT non-standard ERC-20
1 parent 351ec0f commit 6d39517

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

test/ATokenVaultFactory.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ contract ATokenVaultFactoryTest is Test {
5555
pool.setReserveConfigMap(RESERVE_CONFIG_MAP_UNCAPPED_ACTIVE);
5656
}
5757

58-
function _deployUnderlying() internal returns (address) {
58+
function _deployUnderlying() internal virtual returns (address) {
5959
return address(new MockDAI());
6060
}
6161

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// SPDX-License-Identifier: MIT
2+
3+
pragma solidity ^0.8.10;
4+
5+
import {MockUSDT} from "./mocks/MockUSDT.sol";
6+
7+
contract ATokenVaultFactoryNonStandardERC20Test {
8+
9+
function _deployUnderlying() internal virtual returns (address) {
10+
return address(new MockUSDT());
11+
}
12+
}

0 commit comments

Comments
 (0)