Changeset 53921
- Timestamp:
- 08/22/2022 10:42:59 PM (2 years ago)
- Location:
- trunk/tests/phpunit/tests/rest-api
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-autosaves-controller.php
r51568 r53921 271 271 272 272 public function test_delete_item() { 273 // Doesn't exist.273 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 274 274 } 275 275 -
trunk/tests/phpunit/tests/rest-api/rest-block-directory-controller.php
r53315 r53921 132 132 133 133 public function test_get_item() { 134 $this->markTestSkipped( 'Controller does not have get_item route.' );134 $this->markTestSkipped( 'Controller does not implement get_item().' ); 135 135 } 136 136 137 137 public function test_create_item() { 138 $this->markTestSkipped( 'Controller does not have create_item route.' );138 $this->markTestSkipped( 'Controller does not implement create_item().' ); 139 139 } 140 140 141 141 public function test_update_item() { 142 $this->markTestSkipped( 'Controller does not have update_item route.' );142 $this->markTestSkipped( 'Controller does not implement update_item().' ); 143 143 } 144 144 145 145 public function test_delete_item() { 146 $this->markTestSkipped( 'Controller does not have delete_item route.' );146 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 147 147 } 148 148 -
trunk/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
r51657 r53921 642 642 643 643 /** 644 * The context_param() method does not existfor block rendering.644 * The get_context_param() method is not used for block rendering. 645 645 */ 646 646 public function test_context_param() { 647 $this->markTestSkipped( 'Controller does not implementcontext_param().' );647 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 648 648 } 649 649 -
trunk/tests/phpunit/tests/rest-api/rest-block-type-controller.php
r53268 r53921 552 552 553 553 /** 554 * The test_create_item() method does not exist for block types. 555 */ 556 public function test_create_item() {} 557 558 /** 559 * The test_update_item() method does not exist for block types. 560 */ 561 public function test_update_item() {} 562 563 /** 564 * The test_delete_item() method does not exist for block types. 565 */ 566 public function test_delete_item() {} 554 * The create_item() method does not exist for block types. 555 */ 556 public function test_create_item() { 557 $this->markTestSkipped( 'Controller does not implement create_item().' ); 558 } 559 560 /** 561 * The update_item() method does not exist for block types. 562 */ 563 public function test_update_item() { 564 $this->markTestSkipped( 'Controller does not implement create_item().' ); 565 } 566 567 /** 568 * The delete_item() method does not exist for block types. 569 */ 570 public function test_delete_item() { 571 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 572 } 567 573 } -
trunk/tests/phpunit/tests/rest-api/rest-global-styles-controller.php
r53072 r53921 126 126 127 127 public function test_context_param() { 128 $this->markTestSkipped( 'Controller does not implementcontext_param().' );128 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 129 129 } 130 130 -
trunk/tests/phpunit/tests/rest-api/rest-pages-controller.php
r52389 r53921 411 411 412 412 public function test_get_item() { 413 413 $this->markTestSkipped( 'Controller does not implement get_item().' ); 414 414 } 415 415 … … 422 422 423 423 public function test_create_item() { 424 424 $this->markTestSkipped( 'Controller does not implement create_item().' ); 425 425 } 426 426 … … 487 487 488 488 public function test_update_item() { 489 489 $this->markTestSkipped( 'Controller does not implement update_item().' ); 490 490 } 491 491 … … 510 510 511 511 public function test_prepare_item() { 512 512 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 513 513 } 514 514 -
trunk/tests/phpunit/tests/rest-api/rest-pattern-directory-controller.php
r53665 r53921 312 312 313 313 public function test_get_item() { 314 $this->markTestSkipped( 'Controller does not have get_item route.' );314 $this->markTestSkipped( 'Controller does not implement get_item().' ); 315 315 } 316 316 317 317 public function test_create_item() { 318 $this->markTestSkipped( 'Controller does not have create_item route.' );318 $this->markTestSkipped( 'Controller does not implement create_item().' ); 319 319 } 320 320 321 321 public function test_update_item() { 322 $this->markTestSkipped( 'Controller does not have update_item route.' );322 $this->markTestSkipped( 'Controller does not implement update_item().' ); 323 323 } 324 324 325 325 public function test_delete_item() { 326 $this->markTestSkipped( 'Controller does not have delete_item route.' );326 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 327 327 } 328 328 -
trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php
r53588 r53921 72 72 73 73 public function test_context_param() { 74 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 74 75 } 75 76 … … 380 381 381 382 public function test_create_item() { 383 $this->markTestSkipped( 'Controller does not implement create_item().' ); 382 384 } 383 385 … … 660 662 661 663 public function test_prepare_item() { 664 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 662 665 } 663 666 664 667 public function test_get_item_schema() { 668 $this->markTestSkipped( 'Controller does not implement get_item_schema().' ); 665 669 } 666 670 -
trunk/tests/phpunit/tests/rest-api/rest-sidebars-controller.php
r52016 r53921 574 574 575 575 /** 576 * The test_create_item() method does not exist for sidebar.576 * The create_item() method does not exist for sidebar. 577 577 */ 578 578 public function test_create_item() { 579 $this->markTestSkipped( 'Controller does not implement create_item().' ); 579 580 } 580 581 … … 891 892 892 893 /** 893 * The test_delete_item() method does not exist for sidebar.894 * The delete_item() method does not exist for sidebar. 894 895 */ 895 896 public function test_delete_item() { 896 } 897 898 /** 899 * The test_prepare_item() method does not exist for sidebar. 897 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 898 } 899 900 /** 901 * The prepare_item() method does not exist for sidebar. 900 902 */ 901 903 public function test_prepare_item() { 904 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 902 905 } 903 906 -
trunk/tests/phpunit/tests/rest-api/rest-themes-controller.php
r53659 r53921 1202 1202 * The create_item() method does not exist for themes. 1203 1203 */ 1204 public function test_create_item() {} 1204 public function test_create_item() { 1205 $this->markTestSkipped( 'Controller does not implement create_item().' ); 1206 } 1205 1207 1206 1208 /** 1207 1209 * The update_item() method does not exist for themes. 1208 1210 */ 1209 public function test_update_item() {} 1211 public function test_update_item() { 1212 $this->markTestSkipped( 'Controller does not implement update_item().' ); 1213 } 1210 1214 1211 1215 /** … … 1396 1400 * The delete_item() method does not exist for themes. 1397 1401 */ 1398 public function test_delete_item() {} 1402 public function test_delete_item() { 1403 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 1404 } 1399 1405 1400 1406 /** 1401 1407 * Context is not supported for themes. 1402 1408 */ 1403 public function test_context_param() {} 1409 public function test_context_param() { 1410 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 1411 } 1404 1412 } -
trunk/tests/phpunit/tests/rest-api/rest-widget-types-controller.php
r51882 r53921 532 532 533 533 /** 534 * The test_create_item() method does not exist for widget types. 535 */ 536 public function test_create_item() {} 537 538 /** 539 * The test_update_item() method does not exist for widget types. 540 */ 541 public function test_update_item() {} 542 543 /** 544 * The test_delete_item() method does not exist for widget types. 545 */ 546 public function test_delete_item() {} 534 * The create_item() method does not exist for widget types. 535 */ 536 public function test_create_item() { 537 $this->markTestSkipped( 'Controller does not implement create_item().' ); 538 } 539 540 /** 541 * The update_item() method does not exist for widget types. 542 */ 543 public function test_update_item() { 544 $this->markTestSkipped( 'Controller does not implement update_item().' ); 545 } 546 547 /** 548 * The delete_item() method does not exist for widget types. 549 */ 550 public function test_delete_item() { 551 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 552 } 547 553 } -
trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php
r52328 r53921 218 218 */ 219 219 public function test_context_param() { 220 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 220 221 } 221 222 … … 1509 1510 1510 1511 /** 1511 * The test_prepare_item() method does not exist for sidebar.1512 * The prepare_item() method does not exist for sidebar. 1512 1513 */ 1513 1514 public function test_prepare_item() { 1515 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 1514 1516 } 1515 1517 -
trunk/tests/phpunit/tests/rest-api/wpRestBlockPatternCategoriesController.php
r53152 r53921 147 147 148 148 public function test_context_param() { 149 $this->markTestSkipped( 'Controller does not use context_param.' );149 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 150 150 } 151 151 152 152 public function test_get_item() { 153 $this->markTestSkipped( 'Controller does not have get_item route.' );153 $this->markTestSkipped( 'Controller does not implement get_item().' ); 154 154 } 155 155 156 156 public function test_create_item() { 157 $this->markTestSkipped( 'Controller does not have create_item route.' );157 $this->markTestSkipped( 'Controller does not implement create_item().' ); 158 158 } 159 159 160 160 public function test_update_item() { 161 $this->markTestSkipped( 'Controller does not have update_item route.' );161 $this->markTestSkipped( 'Controller does not implement update_item().' ); 162 162 } 163 163 164 164 public function test_delete_item() { 165 $this->markTestSkipped( 'Controller does not have delete_item route.' );165 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 166 166 } 167 167 168 168 public function test_prepare_item() { 169 $this->markTestSkipped( 'Controller does not have prepare_item route.' );169 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 170 170 } 171 171 172 172 public function test_get_item_schema() { 173 $this->markTestSkipped( 'Controller does not have get_item_schema route.' );173 $this->markTestSkipped( 'Controller does not implement get_item_schema().' ); 174 174 } 175 175 } -
trunk/tests/phpunit/tests/rest-api/wpRestBlockPatternsController.php
r53152 r53921 173 173 174 174 public function test_context_param() { 175 $this->markTestSkipped( 'Controller does not use context_param.' );175 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 176 176 } 177 177 178 178 public function test_get_item() { 179 $this->markTestSkipped( 'Controller does not have get_item route.' );179 $this->markTestSkipped( 'Controller does not implement get_item().' ); 180 180 } 181 181 182 182 public function test_create_item() { 183 $this->markTestSkipped( 'Controller does not have create_item route.' );183 $this->markTestSkipped( 'Controller does not implement create_item().' ); 184 184 } 185 185 186 186 public function test_update_item() { 187 $this->markTestSkipped( 'Controller does not have update_item route.' );187 $this->markTestSkipped( 'Controller does not implement update_item().' ); 188 188 } 189 189 190 190 public function test_delete_item() { 191 $this->markTestSkipped( 'Controller does not have delete_item route.' );191 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 192 192 } 193 193 194 194 public function test_prepare_item() { 195 $this->markTestSkipped( 'Controller does not have prepare_item route.' );195 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 196 196 } 197 197 198 198 public function test_get_item_schema() { 199 $this->markTestSkipped( 'Controller does not have get_item_schema route.' );199 $this->markTestSkipped( 'Controller does not implement get_item_schema().' ); 200 200 } 201 201 } -
trunk/tests/phpunit/tests/rest-api/wpRestEditSiteExportController.php
r52340 r53921 103 103 */ 104 104 public function test_context_param() { 105 $this->markTestSkipped( 'Controller does not implementcontext_param().' );105 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 106 106 } 107 107 -
trunk/tests/phpunit/tests/rest-api/wpRestMenuLocationsController.php
r52079 r53921 141 141 142 142 /** 143 * The test_create_item() method does not exist for menu locations. 144 */ 145 public function test_create_item() {} 146 147 /** 148 * The test_update_item() method does not exist for menu locations. 149 */ 150 public function test_update_item() {} 151 152 /** 153 * The test_delete_item() method does not exist for menu locations. 154 */ 155 public function test_delete_item() {} 156 157 /** 158 * The test_prepare_item() method does not exist for menu locations. 159 */ 160 public function test_prepare_item() {} 143 * The create_item() method does not exist for menu locations. 144 */ 145 public function test_create_item() { 146 $this->markTestSkipped( 'Controller does not implement create_item().' ); 147 } 148 149 /** 150 * The update_item() method does not exist for menu locations. 151 */ 152 public function test_update_item() { 153 $this->markTestSkipped( 'Controller does not implement update_item().' ); 154 } 155 156 /** 157 * The delete_item() method does not exist for menu locations. 158 */ 159 public function test_delete_item() { 160 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 161 } 162 163 /** 164 * The prepare_item() method does not exist for menu locations. 165 */ 166 public function test_prepare_item() { 167 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 168 } 161 169 162 170 /** -
trunk/tests/phpunit/tests/rest-api/wpRestTemplatesController.php
r53416 r53921 616 616 617 617 public function test_prepare_item() { 618 // TODO: Implement test_prepare_item() method.618 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 619 619 } 620 620 -
trunk/tests/phpunit/tests/rest-api/wpRestUrlDetailsController.php
r52311 r53921 1050 1050 1051 1051 public function test_context_param() { 1052 $this->markTestSkipped( 'Controller does not use context_param.' );1052 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 1053 1053 } 1054 1054 1055 1055 public function test_get_item() { 1056 $this->markTestSkipped( 'Controller does not have get_item route.' );1056 $this->markTestSkipped( 'Controller does not implement get_item().' ); 1057 1057 } 1058 1058 1059 1059 public function test_create_item() { 1060 $this->markTestSkipped( 'Controller does not have create_item route.' );1060 $this->markTestSkipped( 'Controller does not implement create_item().' ); 1061 1061 } 1062 1062 1063 1063 public function test_update_item() { 1064 $this->markTestSkipped( 'Controller does not have update_item route.' );1064 $this->markTestSkipped( 'Controller does not implement update_item().' ); 1065 1065 } 1066 1066 1067 1067 public function test_delete_item() { 1068 $this->markTestSkipped( 'Controller does not have delete_item route.' );1068 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 1069 1069 } 1070 1070 1071 1071 public function test_prepare_item() { 1072 $this->markTestSkipped( 'Controller does not have prepare_item route.' );1072 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 1073 1073 } 1074 1074
Note: See TracChangeset
for help on using the changeset viewer.