Skip to content

Commit

Permalink
test: Updated Test Case
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Dec 9, 2024
1 parent e48f333 commit 531df93
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions tests/webfiori/framework/test/cli/CreateWebServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -123,7 +124,7 @@ public function test01() {
'Service\'s Desc',
'',
'y',
'5',
'6',
'n',
'y',
'a-number',
Expand Down Expand Up @@ -151,19 +152,21 @@ 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",
"1: DELETE\n",
"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",
Expand Down Expand Up @@ -220,7 +223,7 @@ public function test02() {
'Service\'s Desc',
'',
'y',
'5',
'6',
'n',
'y',
'a-number',
Expand Down Expand Up @@ -248,19 +251,21 @@ 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",
"1: DELETE\n",
"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",
Expand Down

0 comments on commit 531df93

Please sign in to comment.