Changeset 54058
- Timestamp:
- 09/01/2022 10:54:19 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
r53948 r54058 272 272 } 273 273 274 /** 275 * @doesNotPerformAssertions 276 */ 274 277 public function test_delete_item() { 275 $this->markTestSkipped( 'Controller does not implement delete_item().' );278 // Controller does not implement delete_item(). 276 279 } 277 280 -
trunk/tests/phpunit/tests/rest-api/rest-block-directory-controller.php
r53921 r54058 131 131 } 132 132 133 /** 134 * @doesNotPerformAssertions 135 */ 133 136 public function test_get_item() { 134 $this->markTestSkipped( 'Controller does not implement get_item().' ); 135 } 136 137 // Controller does not implement get_item(). 138 } 139 140 /** 141 * @doesNotPerformAssertions 142 */ 137 143 public function test_create_item() { 138 $this->markTestSkipped( 'Controller does not implement create_item().' ); 139 } 140 144 // Controller does not implement create_item(). 145 } 146 147 /** 148 * @doesNotPerformAssertions 149 */ 141 150 public function test_update_item() { 142 $this->markTestSkipped( 'Controller does not implement update_item().' ); 143 } 144 151 // Controller does not implement update_item(). 152 } 153 154 /** 155 * @doesNotPerformAssertions 156 */ 145 157 public function test_delete_item() { 146 $this->markTestSkipped( 'Controller does not implement delete_item().' );158 // Controller does not implement delete_item(). 147 159 } 148 160 -
trunk/tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
r53921 r54058 615 615 /** 616 616 * The update_item() method does not exist for block rendering. 617 * 618 * @doesNotPerformAssertions 617 619 */ 618 620 public function test_update_item() { 619 $this->markTestSkipped( 'Controller does not implement update_item().' );621 // Controller does not implement update_item(). 620 622 } 621 623 622 624 /** 623 625 * The create_item() method does not exist for block rendering. 626 * 627 * @doesNotPerformAssertions 624 628 */ 625 629 public function test_create_item() { 626 $this->markTestSkipped( 'Controller does not implement create_item().' );630 // Controller does not implement create_item(). 627 631 } 628 632 629 633 /** 630 634 * The delete_item() method does not exist for block rendering. 635 * 636 * @doesNotPerformAssertions 631 637 */ 632 638 public function test_delete_item() { 633 $this->markTestSkipped( 'Controller does not implement delete_item().' );639 // Controller does not implement delete_item(). 634 640 } 635 641 636 642 /** 637 643 * The get_items() method does not exist for block rendering. 644 * 645 * @doesNotPerformAssertions 638 646 */ 639 647 public function test_get_items() { 640 $this->markTestSkipped( 'Controller does not implement get_items().' );648 // Controller does not implement get_items(). 641 649 } 642 650 643 651 /** 644 652 * The get_context_param() method is not used for block rendering. 653 * 654 * @doesNotPerformAssertions 645 655 */ 646 656 public function test_context_param() { 647 $this->markTestSkipped( 'Controller does not use get_context_param().' );657 // Controller does not use get_context_param(). 648 658 } 649 659 650 660 /** 651 661 * The prepare_item() method does not exist for block rendering. 662 * 663 * @doesNotPerformAssertions 652 664 */ 653 665 public function test_prepare_item() { 654 $this->markTestSkipped( 'Controller does not implement prepare_item().' );666 // Controller does not implement prepare_item(). 655 667 } 656 668 } -
trunk/tests/phpunit/tests/rest-api/rest-block-type-controller.php
r53921 r54058 553 553 /** 554 554 * The create_item() method does not exist for block types. 555 * 556 * @doesNotPerformAssertions 555 557 */ 556 558 public function test_create_item() { 557 $this->markTestSkipped( 'Controller does not implement create_item().' );559 // Controller does not implement create_item(). 558 560 } 559 561 560 562 /** 561 563 * The update_item() method does not exist for block types. 564 * 565 * @doesNotPerformAssertions 562 566 */ 563 567 public function test_update_item() { 564 $this->markTestSkipped( 'Controller does not implement create_item().' );568 // Controller does not implement create_item(). 565 569 } 566 570 567 571 /** 568 572 * The delete_item() method does not exist for block types. 573 * 574 * @doesNotPerformAssertions 569 575 */ 570 576 public function test_delete_item() { 571 $this->markTestSkipped( 'Controller does not implement delete_item().' );577 // Controller does not implement delete_item(). 572 578 } 573 579 } -
trunk/tests/phpunit/tests/rest-api/rest-global-styles-controller.php
r54036 r54058 125 125 } 126 126 127 /** 128 * @doesNotPerformAssertions 129 */ 127 130 public function test_context_param() { 128 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 129 } 130 131 // Controller does not use get_context_param(). 132 } 133 134 /** 135 * @doesNotPerformAssertions 136 */ 131 137 public function test_get_items() { 132 $this->markTestSkipped( 'Controller does not implement get_items().' );138 // Controller does not implement get_items(). 133 139 } 134 140 … … 383 389 } 384 390 391 /** 392 * @doesNotPerformAssertions 393 */ 385 394 public function test_create_item() { 386 $this->markTestSkipped( 'Controller does not implement create_item().' );395 // Controller does not implement create_item(). 387 396 } 388 397 … … 438 447 } 439 448 449 /** 450 * @doesNotPerformAssertions 451 */ 440 452 public function test_delete_item() { 441 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 442 } 443 453 // Controller does not implement delete_item(). 454 } 455 456 /** 457 * @doesNotPerformAssertions 458 */ 444 459 public function test_prepare_item() { 445 $this->markTestSkipped( 'Controller does not implement prepare_item().' );460 // Controller does not implement prepare_item(). 446 461 } 447 462 -
trunk/tests/phpunit/tests/rest-api/rest-pages-controller.php
r53945 r54058 409 409 } 410 410 411 /** 412 * @doesNotPerformAssertions 413 */ 411 414 public function test_get_item() { 412 $this->markTestSkipped( 'Controller does not implement get_item().' );415 // Controller does not implement get_item(). 413 416 } 414 417 … … 420 423 } 421 424 425 /** 426 * @doesNotPerformAssertions 427 */ 422 428 public function test_create_item() { 423 $this->markTestSkipped( 'Controller does not implement create_item().' );429 // Controller does not implement create_item(). 424 430 } 425 431 … … 485 491 } 486 492 493 /** 494 * @doesNotPerformAssertions 495 */ 487 496 public function test_update_item() { 488 $this->markTestSkipped( 'Controller does not implement update_item().' );497 // Controller does not implement update_item(). 489 498 } 490 499 … … 508 517 } 509 518 519 /** 520 * @doesNotPerformAssertions 521 */ 510 522 public function test_prepare_item() { 511 $this->markTestSkipped( 'Controller does not implement prepare_item().' );523 // Controller does not implement prepare_item(). 512 524 } 513 525 -
trunk/tests/phpunit/tests/rest-api/rest-pattern-directory-controller.php
r53921 r54058 311 311 } 312 312 313 /** 314 * @doesNotPerformAssertions 315 */ 313 316 public function test_get_item() { 314 $this->markTestSkipped( 'Controller does not implement get_item().' ); 315 } 316 317 // Controller does not implement get_item(). 318 } 319 320 /** 321 * @doesNotPerformAssertions 322 */ 317 323 public function test_create_item() { 318 $this->markTestSkipped( 'Controller does not implement create_item().' ); 319 } 320 324 // Controller does not implement create_item(). 325 } 326 327 /** 328 * @doesNotPerformAssertions 329 */ 321 330 public function test_update_item() { 322 $this->markTestSkipped( 'Controller does not implement update_item().' ); 323 } 324 331 // Controller does not implement update_item(). 332 } 333 334 /** 335 * @doesNotPerformAssertions 336 */ 325 337 public function test_delete_item() { 326 $this->markTestSkipped( 'Controller does not implement delete_item().' );338 // Controller does not implement delete_item(). 327 339 } 328 340 … … 403 415 * 404 416 * @since 5.8.0 417 * 418 * @doesNotPerformAssertions 405 419 */ 406 420 public function test_get_item_schema() { 407 $this->markTestSkipped( "The controller's schema is hardcoded, so tests would not be meaningful." );421 // The controller's schema is hardcoded, so tests would not be meaningful. 408 422 } 409 423 -
trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php
r53948 r54058 76 76 } 77 77 78 /** 79 * @doesNotPerformAssertions 80 */ 78 81 public function test_context_param() { 79 $this->markTestSkipped( 'Controller does not use get_context_param().' );82 // Controller does not use get_context_param(). 80 83 } 81 84 … … 384 387 } 385 388 386 389 /** 390 * @doesNotPerformAssertions 391 */ 387 392 public function test_create_item() { 388 $this->markTestSkipped( 'Controller does not implement create_item().' );393 // Controller does not implement create_item(). 389 394 } 390 395 … … 666 671 } 667 672 673 /** 674 * @doesNotPerformAssertions 675 */ 668 676 public function test_prepare_item() { 669 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 670 } 671 677 // Controller does not implement prepare_item(). 678 } 679 680 /** 681 * @doesNotPerformAssertions 682 */ 672 683 public function test_get_item_schema() { 673 $this->markTestSkipped( 'Controller does not implement get_item_schema().' );684 // Controller does not implement get_item_schema(). 674 685 } 675 686 -
trunk/tests/phpunit/tests/rest-api/rest-sidebars-controller.php
r53921 r54058 575 575 /** 576 576 * The create_item() method does not exist for sidebar. 577 * 578 * @doesNotPerformAssertions 577 579 */ 578 580 public function test_create_item() { 579 $this->markTestSkipped( 'Controller does not implement create_item().' );581 // Controller does not implement create_item(). 580 582 } 581 583 … … 893 895 /** 894 896 * The delete_item() method does not exist for sidebar. 897 * 898 * @doesNotPerformAssertions 895 899 */ 896 900 public function test_delete_item() { 897 $this->markTestSkipped( 'Controller does not implement delete_item().' );901 // Controller does not implement delete_item(). 898 902 } 899 903 900 904 /** 901 905 * The prepare_item() method does not exist for sidebar. 906 * 907 * @doesNotPerformAssertions 902 908 */ 903 909 public function test_prepare_item() { 904 $this->markTestSkipped( 'Controller does not implement prepare_item().' );910 // Controller does not implement prepare_item(). 905 911 } 906 912 -
trunk/tests/phpunit/tests/rest-api/rest-themes-controller.php
r53921 r54058 1201 1201 /** 1202 1202 * The create_item() method does not exist for themes. 1203 * 1204 * @doesNotPerformAssertions 1203 1205 */ 1204 1206 public function test_create_item() { 1205 $this->markTestSkipped( 'Controller does not implement create_item().' );1207 // Controller does not implement create_item(). 1206 1208 } 1207 1209 1208 1210 /** 1209 1211 * The update_item() method does not exist for themes. 1212 * 1213 * @doesNotPerformAssertions 1210 1214 */ 1211 1215 public function test_update_item() { 1212 $this->markTestSkipped( 'Controller does not implement update_item().' );1216 // Controller does not implement update_item(). 1213 1217 } 1214 1218 … … 1399 1403 /** 1400 1404 * The delete_item() method does not exist for themes. 1405 * 1406 * @doesNotPerformAssertions 1401 1407 */ 1402 1408 public function test_delete_item() { 1403 $this->markTestSkipped( 'Controller does not implement delete_item().' );1409 // Controller does not implement delete_item(). 1404 1410 } 1405 1411 1406 1412 /** 1407 1413 * Context is not supported for themes. 1414 * 1415 * @doesNotPerformAssertions 1408 1416 */ 1409 1417 public function test_context_param() { 1410 $this->markTestSkipped( 'Controller does not use get_context_param().' );1418 // Controller does not use get_context_param(). 1411 1419 } 1412 1420 } -
trunk/tests/phpunit/tests/rest-api/rest-widget-types-controller.php
r53921 r54058 533 533 /** 534 534 * The create_item() method does not exist for widget types. 535 * 536 * @doesNotPerformAssertions 535 537 */ 536 538 public function test_create_item() { 537 $this->markTestSkipped( 'Controller does not implement create_item().' );539 // Controller does not implement create_item(). 538 540 } 539 541 540 542 /** 541 543 * The update_item() method does not exist for widget types. 544 * 545 * @doesNotPerformAssertions 542 546 */ 543 547 public function test_update_item() { 544 $this->markTestSkipped( 'Controller does not implement update_item().' );548 // Controller does not implement update_item(). 545 549 } 546 550 547 551 /** 548 552 * The delete_item() method does not exist for widget types. 553 * 554 * @doesNotPerformAssertions 549 555 */ 550 556 public function test_delete_item() { 551 $this->markTestSkipped( 'Controller does not implement delete_item().' );557 // Controller does not implement delete_item(). 552 558 } 553 559 } -
trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php
r53921 r54058 215 215 216 216 /** 217 * @ ticket 41683217 * @doesNotPerformAssertions 218 218 */ 219 219 public function test_context_param() { 220 $this->markTestSkipped( 'Controller does not use get_context_param().' );220 // Controller does not use get_context_param(). 221 221 } 222 222 … … 1511 1511 /** 1512 1512 * The prepare_item() method does not exist for sidebar. 1513 * 1514 * @doesNotPerformAssertions 1513 1515 */ 1514 1516 public function test_prepare_item() { 1515 $this->markTestSkipped( 'Controller does not implement prepare_item().' );1517 // Controller does not implement prepare_item(). 1516 1518 } 1517 1519 -
trunk/tests/phpunit/tests/rest-api/wpRestBlockPatternCategoriesController.php
r53921 r54058 146 146 } 147 147 148 /** 149 * @doesNotPerformAssertions 150 */ 148 151 public function test_context_param() { 149 $this->markTestSkipped( 'Controller does not use get_context_param().' );152 // Controller does not use get_context_param(). 150 153 } 151 154 155 /** 156 * @doesNotPerformAssertions 157 */ 152 158 public function test_get_item() { 153 $this->markTestSkipped( 'Controller does not implement get_item().' );159 // Controller does not implement get_item(). 154 160 } 155 161 162 /** 163 * @doesNotPerformAssertions 164 */ 156 165 public function test_create_item() { 157 $this->markTestSkipped( 'Controller does not implement create_item().' );166 // Controller does not implement create_item(). 158 167 } 159 168 169 /** 170 * @doesNotPerformAssertions 171 */ 160 172 public function test_update_item() { 161 $this->markTestSkipped( 'Controller does not implement update_item().' );173 // Controller does not implement update_item(). 162 174 } 163 175 176 /** 177 * @doesNotPerformAssertions 178 */ 164 179 public function test_delete_item() { 165 $this->markTestSkipped( 'Controller does not implement delete_item().' );180 // Controller does not implement delete_item(). 166 181 } 167 182 183 /** 184 * @doesNotPerformAssertions 185 */ 168 186 public function test_prepare_item() { 169 $this->markTestSkipped( 'Controller does not implement prepare_item().' );187 // Controller does not implement prepare_item(). 170 188 } 171 189 190 /** 191 * @doesNotPerformAssertions 192 */ 172 193 public function test_get_item_schema() { 173 $this->markTestSkipped( 'Controller does not implement get_item_schema().' );194 // Controller does not implement get_item_schema(). 174 195 } 175 196 } -
trunk/tests/phpunit/tests/rest-api/wpRestBlockPatternsController.php
r53921 r54058 172 172 } 173 173 174 /** 175 * @doesNotPerformAssertions 176 */ 174 177 public function test_context_param() { 175 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 176 } 177 178 // Controller does not use get_context_param(). 179 } 180 181 /** 182 * @doesNotPerformAssertions 183 */ 178 184 public function test_get_item() { 179 $this->markTestSkipped( 'Controller does not implement get_item().' ); 180 } 181 185 // Controller does not implement get_item(). 186 } 187 188 /** 189 * @doesNotPerformAssertions 190 */ 182 191 public function test_create_item() { 183 $this->markTestSkipped( 'Controller does not implement create_item().' ); 184 } 185 192 // Controller does not implement create_item(). 193 } 194 195 /** 196 * @doesNotPerformAssertions 197 */ 186 198 public function test_update_item() { 187 $this->markTestSkipped( 'Controller does not implement update_item().' ); 188 } 189 199 // Controller does not implement update_item(). 200 } 201 202 /** 203 * @doesNotPerformAssertions 204 */ 190 205 public function test_delete_item() { 191 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 192 } 193 206 // Controller does not implement delete_item(). 207 } 208 209 /** 210 * @doesNotPerformAssertions 211 */ 194 212 public function test_prepare_item() { 195 $this->markTestSkipped( 'Controller does not implement prepare_item().' ); 196 } 197 213 // Controller does not implement prepare_item(). 214 } 215 216 /** 217 * @doesNotPerformAssertions 218 */ 198 219 public function test_get_item_schema() { 199 $this->markTestSkipped( 'Controller does not implement get_item_schema().' );220 // Controller does not implement get_item_schema(). 200 221 } 201 222 } -
trunk/tests/phpunit/tests/rest-api/wpRestEditSiteExportController.php
r53921 r54058 100 100 101 101 /** 102 * @ ticket 54448102 * @doesNotPerformAssertions 103 103 */ 104 104 public function test_context_param() { 105 $this->markTestSkipped( 'Controller does not use get_context_param().' );105 // Controller does not use get_context_param(). 106 106 } 107 107 108 108 /** 109 * @ ticket 54448109 * @doesNotPerformAssertions 110 110 */ 111 111 public function test_get_item() { 112 $this->markTestSkipped( 'Controller does not implement get_item().' );112 // Controller does not implement get_item(). 113 113 } 114 114 115 115 /** 116 * @ ticket 54448116 * @doesNotPerformAssertions 117 117 */ 118 118 public function test_get_items() { 119 $this->markTestSkipped( 'Controller does not implement get_items().' );119 // Controller does not implement get_items(). 120 120 } 121 121 122 122 /** 123 * @ ticket 54448123 * @doesNotPerformAssertions 124 124 */ 125 125 public function test_create_item() { 126 $this->markTestSkipped( 'Controller does not implement create_item().' );126 // Controller does not implement create_item(). 127 127 } 128 128 129 129 /** 130 * @ ticket 54448130 * @doesNotPerformAssertions 131 131 */ 132 132 public function test_update_item() { 133 $this->markTestSkipped( 'Controller does not implement update_item().' );133 // Controller does not implement update_item(). 134 134 } 135 135 136 136 /** 137 * @ ticket 54448137 * @doesNotPerformAssertions 138 138 */ 139 139 public function test_delete_item() { 140 $this->markTestSkipped( 'Controller does not implement delete_item().' );140 // Controller does not implement delete_item(). 141 141 } 142 142 143 143 /** 144 * @ ticket 54448144 * @doesNotPerformAssertions 145 145 */ 146 146 public function test_prepare_item() { 147 $this->markTestSkipped( 'Controller does not implement prepare_item().' );147 // Controller does not implement prepare_item(). 148 148 } 149 149 150 150 /** 151 * @ ticket 54448151 * @doesNotPerformAssertions 152 152 */ 153 153 public function test_get_item_schema() { 154 $this->markTestSkipped( 'Controller does not implement get_item_schema().' );154 // Controller does not implement get_item_schema(). 155 155 } 156 156 } -
trunk/tests/phpunit/tests/rest-api/wpRestMenuLocationsController.php
r53921 r54058 142 142 /** 143 143 * The create_item() method does not exist for menu locations. 144 * 145 * @doesNotPerformAssertions 144 146 */ 145 147 public function test_create_item() { 146 $this->markTestSkipped( 'Controller does not implement create_item().' );148 // Controller does not implement create_item(). 147 149 } 148 150 149 151 /** 150 152 * The update_item() method does not exist for menu locations. 153 * 154 * @doesNotPerformAssertions 151 155 */ 152 156 public function test_update_item() { 153 $this->markTestSkipped( 'Controller does not implement update_item().' );157 // Controller does not implement update_item(). 154 158 } 155 159 156 160 /** 157 161 * The delete_item() method does not exist for menu locations. 162 * 163 * @doesNotPerformAssertions 158 164 */ 159 165 public function test_delete_item() { 160 $this->markTestSkipped( 'Controller does not implement delete_item().' );166 // Controller does not implement delete_item(). 161 167 } 162 168 163 169 /** 164 170 * The prepare_item() method does not exist for menu locations. 171 * 172 * @doesNotPerformAssertions 165 173 */ 166 174 public function test_prepare_item() { 167 $this->markTestSkipped( 'Controller does not implement prepare_item().' );175 // Controller does not implement prepare_item(). 168 176 } 169 177 -
trunk/tests/phpunit/tests/rest-api/wpRestTemplatesController.php
r53921 r54058 615 615 } 616 616 617 /** 618 * @doesNotPerformAssertions 619 */ 617 620 public function test_prepare_item() { 618 $this->markTestSkipped( 'Controller does not implement prepare_item().' );621 // Controller does not implement prepare_item(). 619 622 } 620 623 -
trunk/tests/phpunit/tests/rest-api/wpRestUrlDetailsController.php
r54056 r54058 1049 1049 } 1050 1050 1051 /** 1052 * @doesNotPerformAssertions 1053 */ 1051 1054 public function test_context_param() { 1052 $this->markTestSkipped( 'Controller does not use get_context_param().' ); 1053 } 1054 1055 // Controller does not use get_context_param(). 1056 } 1057 1058 /** 1059 * @doesNotPerformAssertions 1060 */ 1055 1061 public function test_get_item() { 1056 $this->markTestSkipped( 'Controller does not implement get_item().' ); 1057 } 1058 1062 // Controller does not implement get_item(). 1063 } 1064 1065 /** 1066 * @doesNotPerformAssertions 1067 */ 1059 1068 public function test_create_item() { 1060 $this->markTestSkipped( 'Controller does not implement create_item().' ); 1061 } 1062 1069 // Controller does not implement create_item(). 1070 } 1071 1072 /** 1073 * @doesNotPerformAssertions 1074 */ 1063 1075 public function test_update_item() { 1064 $this->markTestSkipped( 'Controller does not implement update_item().' ); 1065 } 1066 1076 // Controller does not implement update_item(). 1077 } 1078 1079 /** 1080 * @doesNotPerformAssertions 1081 */ 1067 1082 public function test_delete_item() { 1068 $this->markTestSkipped( 'Controller does not implement delete_item().' ); 1069 } 1070 1083 // Controller does not implement delete_item(). 1084 } 1085 1086 /** 1087 * @doesNotPerformAssertions 1088 */ 1071 1089 public function test_prepare_item() { 1072 $this->markTestSkipped( 'Controller does not implement prepare_item().' );1090 // Controller does not implement prepare_item(). 1073 1091 } 1074 1092
Note: See TracChangeset
for help on using the changeset viewer.