ソースを参照

Fix Defang IP tests causing the tests to fail

j433866 6 年 前
コミット
59864e3781
1 ファイル変更4 行追加4 行削除
  1. 4 4
      tests/operations/tests/DefangIP.mjs

+ 4 - 4
tests/operations/tests/DefangIP.mjs

@@ -6,7 +6,7 @@
  * @copyright Crown Copyright 2019
  * @license Apache-2.0
  */
-import TestRegister from "../TestRegister";
+import TestRegister from "../../lib/TestRegister.mjs";
 
 TestRegister.addTests([
     {
@@ -15,7 +15,7 @@ TestRegister.addTests([
         expectedOutput: "192[.]168[.]1[.]1",
         recipeConfig: [
             {
-                op: "Defang IP",
+                op: "Defang IP Addresses",
                 args: [],
             },
         ],
@@ -25,7 +25,7 @@ TestRegister.addTests([
         expectedOutput: "2001[:]0db8[:]85a3[:]0000[:]0000[:]8a2e[:]0370[:]7343",
         recipeConfig: [
             {
-                op: "Defang IP",
+                op: "Defang IP Addresses",
                 args: [],
             },
         ],
@@ -35,7 +35,7 @@ TestRegister.addTests([
         expectedOutput: "2001[:]db8[:]3c4d[:]15[:][:]1a2f[:]1a2b",
         recipeConfig: [
             {
-                op: "Defang IP",
+                op: "Defang IP Addresses",
                 args: [],
             },
         ],