mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
doc: updated test naming
This commit is contained in:
parent
5f14b12fdf
commit
0ea9d114e2
|
@ -717,7 +717,7 @@ makeSuite('LendingPoolConfigurator', (testEnv: TestEnv) => {
|
||||||
expect(supplyCap).to.be.equal(strategyWETH.supplyCap);
|
expect(supplyCap).to.be.equal(strategyWETH.supplyCap);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Check the onlyAaveAdmin on disableReserveStableRate', async () => {
|
it('Check the onlyRiskOrPoolAdmin on disableReserveStableRate', async () => {
|
||||||
const { configurator, users, weth, emergencyAdmin } = testEnv;
|
const { configurator, users, weth, emergencyAdmin } = testEnv;
|
||||||
await expect(
|
await expect(
|
||||||
configurator.connect(emergencyAdmin.signer).disableReserveStableRate(weth.address),
|
configurator.connect(emergencyAdmin.signer).disableReserveStableRate(weth.address),
|
||||||
|
@ -725,7 +725,7 @@ makeSuite('LendingPoolConfigurator', (testEnv: TestEnv) => {
|
||||||
).to.be.revertedWith(LPC_CALLER_NOT_RISK_OR_POOL_ADMIN);
|
).to.be.revertedWith(LPC_CALLER_NOT_RISK_OR_POOL_ADMIN);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Check the onlyAaveAdmin on enableReserveStableRate', async () => {
|
it('Check the onlyRiskOrPoolAdmin on enableReserveStableRate', async () => {
|
||||||
const { configurator, users, weth, emergencyAdmin } = testEnv;
|
const { configurator, users, weth, emergencyAdmin } = testEnv;
|
||||||
await expect(
|
await expect(
|
||||||
configurator.connect(emergencyAdmin.signer).enableReserveStableRate(weth.address),
|
configurator.connect(emergencyAdmin.signer).enableReserveStableRate(weth.address),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user