From 531df93d3db0c263dec83454adbe4ab747e9f6b7 Mon Sep 17 00:00:00 2001 From: Ibrahim Date: Mon, 9 Dec 2024 17:50:05 +0300 Subject: [PATCH] test: Updated Test Case --- .../test/cli/CreateWebServiceTest.php | 39 +++++++++++-------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/tests/webfiori/framework/test/cli/CreateWebServiceTest.php b/tests/webfiori/framework/test/cli/CreateWebServiceTest.php index 0c625f42..b8b68016 100644 --- a/tests/webfiori/framework/test/cli/CreateWebServiceTest.php +++ b/tests/webfiori/framework/test/cli/CreateWebServiceTest.php @@ -63,9 +63,10 @@ public function test00() { "2: GET <--\n", "3: HEAD\n", "4: OPTIONS\n", - "5: POST\n", - "6: PUT\n", - "7: TRACE\n", + "5: PATCH\n", + "6: POST\n", + "7: PUT\n", + "8: TRACE\n", "Would you like to add another request method?(y/N)\n", "Would you like to add request parameters to the service?(y/N)\n", "Enter a name for the request parameter:\n", @@ -123,7 +124,7 @@ public function test01() { 'Service\'s Desc', '', 'y', - '5', + '6', 'n', 'y', 'a-number', @@ -151,9 +152,10 @@ public function test01() { "2: GET <--\n", "3: HEAD\n", "4: OPTIONS\n", - "5: POST\n", - "6: PUT\n", - "7: TRACE\n", + "5: PATCH\n", + "6: POST\n", + "7: PUT\n", + "8: TRACE\n", "Would you like to add another request method?(y/N)\n", "Request method:\n", "0: CONNECT\n", @@ -161,9 +163,10 @@ public function test01() { "2: GET <--\n", "3: HEAD\n", "4: OPTIONS\n", - "5: POST\n", - "6: PUT\n", - "7: TRACE\n", + "5: PATCH\n", + "6: POST\n", + "7: PUT\n", + "8: TRACE\n", "Would you like to add another request method?(y/N)\n", "Would you like to add request parameters to the service?(y/N)\n", "Enter a name for the request parameter:\n", @@ -220,7 +223,7 @@ public function test02() { 'Service\'s Desc', '', 'y', - '5', + '6', 'n', 'y', 'a-number', @@ -248,9 +251,10 @@ public function test02() { "2: GET <--\n", "3: HEAD\n", "4: OPTIONS\n", - "5: POST\n", - "6: PUT\n", - "7: TRACE\n", + "5: PATCH\n", + "6: POST\n", + "7: PUT\n", + "8: TRACE\n", "Would you like to add another request method?(y/N)\n", "Request method:\n", "0: CONNECT\n", @@ -258,9 +262,10 @@ public function test02() { "2: GET <--\n", "3: HEAD\n", "4: OPTIONS\n", - "5: POST\n", - "6: PUT\n", - "7: TRACE\n", + "5: PATCH\n", + "6: POST\n", + "7: PUT\n", + "8: TRACE\n", "Would you like to add another request method?(y/N)\n", "Would you like to add request parameters to the service?(y/N)\n", "Enter a name for the request parameter:\n",