Skip to content

Commit

Permalink
fix: new one
Browse files Browse the repository at this point in the history
  • Loading branch information
olehbairak committed Feb 27, 2024
1 parent 4735b11 commit dd2c1b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/integration-tests/src/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export enum Wallets {
richWalletPrivateKey = "0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110",
}

export enum FixedValues {
export enum Contracts {
greeterContractSepolia = "0x180faDac8ce638C67640a6C29BdfB5CB60eCDB76",
}

Expand Down
6 changes: 3 additions & 3 deletions packages/integration-tests/tests/api/contracts.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { localConfig } from "../../src/config";
import { Buffer, FixedValues, Wallets } from "../../src/entities";
import { Buffer, Contracts, Wallets } from "../../src/entities";
import { Helper } from "../../src/helper";
import { Playbook } from "../../src/playbook/playbook";

Expand Down Expand Up @@ -39,7 +39,7 @@ describe("API module: Contract", () => {
//id1695
it("Verify /api?module=contract&action=getabi response", async () => {
await helper.retryTestAction(async () => {
apiRoute = `/api?module=contract&action=getabi&address=${FixedValues.greeterContractSepolia}`;
apiRoute = `/api?module=contract&action=getabi&address=${Contracts.greeterContractSepolia}`;
response = await helper.performGETrequest(apiRoute, "sepolia");

expect(response.status).toBe(200);
Expand All @@ -52,7 +52,7 @@ describe("API module: Contract", () => {
//id1802
it("Verify /api?module=contract&action=getsourcecode response", async () => {
await helper.retryTestAction(async () => {
apiRoute = `/api?module=contract&action=getsourcecode&address=${FixedValues.greeterContractSepolia}`;
apiRoute = `/api?module=contract&action=getsourcecode&address=${Contracts.greeterContractSepolia}`;
response = await helper.performGETrequest(apiRoute, "sepolia");

expect(response.status).toBe(200);
Expand Down

0 comments on commit dd2c1b8

Please sign in to comment.