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 5, 2024
1 parent 718a6c9 commit 8076787
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/integration-tests/tests/api/accounts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,14 @@ describe("API module: Account", () => {
});

//@id1854
it("Verify /api?module=account&action=txlistinternal&txhash=", async () => {
xit("Verify /api?module=account&action=txlistinternal&txhash=", async () => {
await helper.retryTestAction(async () => {
const blocks = await request(environment.blockExplorerAPI).get("/blocks");
//txHash = await helper.getStringFromFile(bufferFile + Buffer.txEthTransfer);
const blockNumber = blocks.body.items[0].number;
apiRoute = `/api?module=account&action=txlistinternal&page=1&offset=10&sort=desc&endblock=${blockNumber}&startblock=0&txhash=0x2fe80424c49a9d6f05561947fbc1e6b77bf8982f08dc57883d1ee083c534d30d`;
apiRoute = `/api?module=account&action=txlistinternal&page=1&offset=10&sort=desc&endblock=${blockNumber}&startblock=0&txhash=null`;
response = await helper.performGETrequest(apiRoute);

console.log(txHash);
console.log(response.body);

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

0 comments on commit 8076787

Please sign in to comment.