Skip to content

Commit

Permalink
fix: new one
Browse files Browse the repository at this point in the history
  • Loading branch information
olehbairak committed Mar 4, 2024
1 parent dd2c1b8 commit c5a86cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/integration-tests/tests/api/contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ describe("API module: Contract", () => {
await playbook.deployMultiCallContracts();
});

//id1851
//id1851 @Sepolia
it("Verify /api?module=contract&action=checkverifystatus response", async () => {
await helper.retryTestAction(async () => {
apiRoute = `/api?module=contract&action=checkverifystatus&guid=3177`;
response = await helper.performGETrequest(apiRoute, "sepolia");
console.log(response.body);

expect(response.status).toBe(200);
expect(response.body).toStrictEqual(expect.objectContaining({ status: "1" }));
Expand All @@ -36,7 +35,7 @@ describe("API module: Contract", () => {
});
});

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

//id1802
//id1802 @Sepolia
it("Verify /api?module=contract&action=getsourcecode response", async () => {
await helper.retryTestAction(async () => {
apiRoute = `/api?module=contract&action=getsourcecode&address=${Contracts.greeterContractSepolia}`;
Expand Down

0 comments on commit c5a86cf

Please sign in to comment.