Skip to content

Commit

Permalink
refactor(xcm test): rename reserveTransferUNQfrom
Browse files Browse the repository at this point in the history
  • Loading branch information
PraetorP committed Oct 2, 2023
1 parent 116f145 commit 0243f65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/src/xcm/lowLevelXcmQuartz.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ describeXCM('[XCMLL] Integration test: Exchanging QTZ with Moonriver', () => {
});

itSub('Should not accept reserve transfer of QTZ from Moonriver', async () => {
await testHelper.reserveTransferUNQfrom('moonriver', alice);
await testHelper.rejectReserveTransferUNQfrom('moonriver', alice);
});
});

Expand Down Expand Up @@ -295,7 +295,7 @@ describeXCM('[XCMLL] Integration test: Exchanging tokens with Shiden', () => {
});

itSub('Should not accept reserve transfer of QTZ from Shiden', async () => {
await testHelper.reserveTransferUNQfrom('shiden', alice);
await testHelper.rejectReserveTransferUNQfrom('shiden', alice);
});
});

Expand Down
8 changes: 4 additions & 4 deletions tests/src/xcm/lowLevelXcmUnique.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describeXCM('[XCMLL] Integration test: Exchanging tokens with Acala', () => {
});

itSub('Should not accept reserve transfer of UNQ from Acala', async () => {
await testHelper.reserveTransferUNQfrom('acala', alice);
await testHelper.rejectReserveTransferUNQfrom('acala', alice);
});
});

Expand Down Expand Up @@ -142,7 +142,7 @@ describeXCM('[XCMLL] Integration test: Exchanging tokens with Polkadex', () => {
});

itSub('Should not accept reserve transfer of UNQ from Polkadex', async () => {
await testHelper.reserveTransferUNQfrom('polkadex', alice);
await testHelper.rejectReserveTransferUNQfrom('polkadex', alice);
});
});

Expand Down Expand Up @@ -280,7 +280,7 @@ describeXCM('[XCMLL] Integration test: Exchanging UNQ with Moonbeam', () => {
});

itSub('Should not accept reserve transfer of UNQ from Moonbeam', async () => {
await testHelper.reserveTransferUNQfrom('moonbeam', alice);
await testHelper.rejectReserveTransferUNQfrom('moonbeam', alice);
});
});

Expand Down Expand Up @@ -361,7 +361,7 @@ describeXCM('[XCMLL] Integration test: Exchanging tokens with Astar', () => {
});

itSub('Should not accept reserve transfer of UNQ from Astar', async () => {
await testHelper.reserveTransferUNQfrom('astar', alice);
await testHelper.rejectReserveTransferUNQfrom('astar', alice);
});
});

Expand Down
2 changes: 1 addition & 1 deletion tests/src/xcm/xcm.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export class XcmTestHelper {
});
}

async reserveTransferUNQfrom(netwokrName: keyof typeof NETWORKS, sudoer: IKeyringPair) {
async rejectReserveTransferUNQfrom(netwokrName: keyof typeof NETWORKS, sudoer: IKeyringPair) {
const networkUrl = mapToChainUrl(netwokrName);
const targetPlayground = getDevPlayground(netwokrName);

Expand Down

0 comments on commit 0243f65

Please sign in to comment.