- Added test for onlyOwner on setMarketId()

This commit is contained in:
eboado 2020-11-26 17:08:09 +01:00
parent 43712d8a2b
commit 3d6150a729

View File

@ -18,6 +18,7 @@ makeSuite('LendingPoolAddressesProvider', (testEnv: TestEnv) => {
await addressesProvider.transferOwnership(users[1].address); await addressesProvider.transferOwnership(users[1].address);
for (const contractFunction of [ for (const contractFunction of [
addressesProvider.setMarketId,
addressesProvider.setLendingPoolImpl, addressesProvider.setLendingPoolImpl,
addressesProvider.setLendingPoolConfiguratorImpl, addressesProvider.setLendingPoolConfiguratorImpl,
addressesProvider.setLendingPoolCollateralManager, addressesProvider.setLendingPoolCollateralManager,