diff --git a/tests/src/xcm/lowLevelXcmQuartz.test.ts b/tests/src/xcm/lowLevelXcmQuartz.test.ts index 23139e56c9..6f06ed760d 100644 --- a/tests/src/xcm/lowLevelXcmQuartz.test.ts +++ b/tests/src/xcm/lowLevelXcmQuartz.test.ts @@ -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); }); }); @@ -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); }); }); diff --git a/tests/src/xcm/lowLevelXcmUnique.test.ts b/tests/src/xcm/lowLevelXcmUnique.test.ts index b36b17dfb9..f66432dab1 100644 --- a/tests/src/xcm/lowLevelXcmUnique.test.ts +++ b/tests/src/xcm/lowLevelXcmUnique.test.ts @@ -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); }); }); @@ -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); }); }); @@ -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); }); }); @@ -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); }); }); diff --git a/tests/src/xcm/xcm.types.ts b/tests/src/xcm/xcm.types.ts index ea4baf402b..931b9f4985 100644 --- a/tests/src/xcm/xcm.types.ts +++ b/tests/src/xcm/xcm.types.ts @@ -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);