Skip to content

Commit

Permalink
feat: Removes skipped test from AirdropContract.js (#1245)
Browse files Browse the repository at this point in the history
* test is no longer skipped

Signed-off-by: Simeon Nakov <[email protected]>

* bump local node version

Signed-off-by: Simeon Nakov <[email protected]>

* add package lock file

Signed-off-by: Simeon Nakov <[email protected]>

* fixed response code change caused by 0.59.0

Signed-off-by: Simeon Nakov <[email protected]>

* trigger CI

Signed-off-by: Simeon Nakov <[email protected]>

---------

Signed-off-by: Simeon Nakov <[email protected]>
  • Loading branch information
simzzz authored Feb 13, 2025
1 parent 8cf1843 commit 31284cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"freeze-network-node": "hardhat run scripts/freeze-network-node.js"
},
"devDependencies": {
"@hashgraph/hedera-local": "^2.33.0",
"@hashgraph/hedera-local": "^2.34.0",
"@hashgraph/sdk": "^2.56.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.8",
"@nomicfoundation/hardhat-foundry": "^1.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ describe('HIP904 AirdropContract Test Suite', function () {
expect(nftOwner).to.equal(receiver);
});

// TODO: Test skipped due to missing error code support in services implementation
// See: https://github.com/hashgraph/hedera-services/issues/17409
it.skip('should airdrop non-fungible tokens (NFT) to multiple accounts', async function () {
it('should airdrop non-fungible tokens (NFT) to multiple accounts', async function () {
const nftTokenAddress = await utils.setupNft(
tokenCreateContract,
owner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ describe('HIP904 CancelAirdropContract Test Suite', function () {
Constants.GAS_LIMIT_2_000_000
);
const responseCode = await utils.getHTSResponseCode(tx.hash);
expect(responseCode).to.eq('15'); // INVALID_ACCOUNT_ID code
expect(responseCode).to.eq('367'); // INVALID_PENDING_AIRDROP_ID code
});

it('should fail when receiver account is invalid', async function () {
Expand Down

0 comments on commit 31284cc

Please sign in to comment.