Skip to content

Commit

Permalink
[collection] fix collection tests with refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario committed Oct 18, 2023
1 parent f9464f8 commit ff50886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/api/collection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("Collection", () => {
});
const response = await aptos.signAndSubmitTransaction({ signer: creator, transaction });

await waitForTransaction({ aptosConfig: config, txnHash: response.hash });
await waitForTransaction({ aptosConfig: config, transactionHash: response.hash });

const data = await aptos.getCollectionData({ collectionName, creatorAddress });

Expand All @@ -48,7 +48,7 @@ describe("Collection", () => {
expect(data).toHaveProperty("table_handle_v1");
expect(data).toHaveProperty("total_minted_v2");

const address = await aptos.getCollectionAddress({ collectionName, creatorAddress });
const address = await aptos.getCollectionId({ collectionName, creatorAddress });
expect(address).toEqual(data.collection_id);
});
});

0 comments on commit ff50886

Please sign in to comment.