mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix-grammar: fixed typos
This commit is contained in:
parent
3d3bdc2096
commit
a0c92d47d0
|
@ -1267,14 +1267,14 @@ makeSuite('LendingPoolConfigurator', (testEnv: TestEnv) => {
|
||||||
CALLER_NOT_POOL_ADMIN
|
CALLER_NOT_POOL_ADMIN
|
||||||
).to.be.revertedWith(CALLER_NOT_POOL_ADMIN);
|
).to.be.revertedWith(CALLER_NOT_POOL_ADMIN);
|
||||||
});
|
});
|
||||||
it('Authorized a new flashborrower', async () => {
|
it('Authorized a new flash borrower', async () => {
|
||||||
const { dai, pool, configurator, users, riskAdmin } = testEnv;
|
const { dai, pool, configurator, users, riskAdmin } = testEnv;
|
||||||
await configurator.authorizeFlashBorrower(users[4].address);
|
await configurator.authorizeFlashBorrower(users[4].address);
|
||||||
|
|
||||||
const isFlashBorrowerAuthorized = await pool.isFlashBorrowerAuthorized(users[4].address);
|
const isFlashBorrowerAuthorized = await pool.isFlashBorrowerAuthorized(users[4].address);
|
||||||
expect(isFlashBorrowerAuthorized).to.be.true;
|
expect(isFlashBorrowerAuthorized).to.be.true;
|
||||||
});
|
});
|
||||||
it('Unauthorized flashborrower', async () => {
|
it('Unauthorized flash borrower', async () => {
|
||||||
const { dai, pool, configurator, users } = testEnv;
|
const { dai, pool, configurator, users } = testEnv;
|
||||||
await configurator.unauthorizeFlashBorrower(users[4].address);
|
await configurator.unauthorizeFlashBorrower(users[4].address);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user