Fix tests missing param

This commit is contained in:
David Racero 2020-09-03 16:24:27 +02:00
parent 84d1ed0cb7
commit e2bc6fbc73
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ import {
import {waitForTx} from '../helpers/misc-utils';
import {enableReservesToBorrow, enableReservesAsCollateral} from '../helpers/init-helpers';
import {AaveConfig} from '../config/aave';
import {MockFlashLoanReceiverFactory} from '../types';
const MOCK_USD_PRICE_IN_WEI = AaveConfig.ProtocolGlobalParams.MockUsdPriceInWei;
const ALL_ASSETS_INITIAL_PRICES = AaveConfig.Mocks.AllAssetsInitialPrices;
@ -206,7 +207,8 @@ const buildTestEnv = async (deployer: Signer, secondaryWallet: Signer) => {
addressesProvider,
lendingPoolProxy,
lendingPoolConfiguratorProxy,
AavePools.proto
AavePools.proto,
false
);
await enableReservesToBorrow(
reservesParams,

View File

@ -94,7 +94,6 @@ export async function initializeMakeSuite() {
testEnv.helpersContract = await getAaveProtocolTestHelpers();
console.log(await testEnv.helpersContract.getAllATokens());
const aDaiAddress = (await testEnv.helpersContract.getAllATokens()).find(
(aToken) => aToken.symbol === 'aDAI'
)?.tokenAddress;