Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
Signed-off-by: GopherJ <[email protected]>
  • Loading branch information
GopherJ committed Sep 12, 2023
1 parent 1e40d46 commit 978025c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/_timelock.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {loadFixture} from "@nomicfoundation/hardhat-network-helpers";
import {expect} from "chai";
import {deployReserveTimeLockStrategy} from "../helpers/contracts-deployments";
import {MAX_UINT_AMOUNT, ZERO_ADDRESS} from "../helpers/constants";
import {MAX_UINT_AMOUNT, ONE_ADDRESS} from "../helpers/constants";
import {
getInitializableAdminUpgradeabilityProxy,
getPoolConfiguratorProxy,
Expand Down Expand Up @@ -531,7 +531,7 @@ describe("TimeLock functionality tests", () => {
await waitForTx(
await (await getInitializableAdminUpgradeabilityProxy(timeLock.address))
.connect(poolAdmin.signer)
.changeAdmin(ZERO_ADDRESS)
.changeAdmin(ONE_ADDRESS)
);
await waitForTx(
await timeLock
Expand Down
4 changes: 2 additions & 2 deletions test/_timelock_whitelist.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {supplyAndValidate} from "./helpers/validated-steps";
import {almostEqual} from "./helpers/uniswapv3-helper";
import {convertToCurrencyDecimals} from "../helpers/contracts-helpers";
import {getInitializableAdminUpgradeabilityProxy} from "../helpers/contracts-getters";
import {ZERO_ADDRESS} from "../helpers/constants";
import {ONE_ADDRESS} from "../helpers/constants";

describe("timeLock whiteList tests", function () {
let defaultTimeLockStrategy: DefaultTimeLockStrategy;
Expand Down Expand Up @@ -95,7 +95,7 @@ describe("timeLock whiteList tests", function () {
await waitForTx(
await (await getInitializableAdminUpgradeabilityProxy(timeLock.address))
.connect(poolAdmin.signer)
.changeAdmin(ZERO_ADDRESS)
.changeAdmin(ONE_ADDRESS)
);
await waitForTx(
await timeLock
Expand Down

0 comments on commit 978025c

Please sign in to comment.