Skip to content

Commit

Permalink
fix: Fix error in test from merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Dec 28, 2021
1 parent 975865e commit c7512ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test-suites/configurator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,12 +498,17 @@ makeSuite('PoolConfigurator', (testEnv: TestEnv) => {
it('Updates the reserve factor of WETH equal to PERCENTAGE_FACTOR', async () => {
const snapId = await evmSnapshot();
const { configurator, helpersContract, weth, poolAdmin } = testEnv;

const { reserveFactor: oldReserveFactor } = await helpersContract.getReserveConfigurationData(
weth.address
);

const newReserveFactor = '10000';
expect(
await configurator.connect(poolAdmin.signer).setReserveFactor(weth.address, newReserveFactor)
)
.to.emit(configurator, 'ReserveFactorChanged')
.withArgs(weth.address, newReserveFactor);
.withArgs(weth.address, oldReserveFactor, newReserveFactor);

await expectReserveConfigurationData(helpersContract, weth.address, {
...baseConfigValues,
Expand Down

0 comments on commit c7512ed

Please sign in to comment.