- Timestamp:
- 03/19/2023 12:03:30 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/wpRestTemplatesController.php
r55457 r55562 170 170 /** 171 171 * @ticket 54507 172 * @dataProvider get_template_endpoint_urls172 * @dataProvider data_get_item_works_with_a_single_slash 173 173 */ 174 174 public function test_get_item_works_with_a_single_slash( $endpoint_url ) { … … 204 204 } 205 205 206 public function get_template_endpoint_urls() {206 public function data_get_item_works_with_a_single_slash() { 207 207 return array( 208 208 array( '/wp/v2/templates/default/my_template' ), … … 376 376 /** 377 377 * @ticket 54507 378 * @dataProvider get_template_ids_to_sanitize378 * @dataProvider data_sanitize_template_id 379 379 */ 380 380 public function test_sanitize_template_id( $input_id, $sanitized_id ) { … … 386 386 } 387 387 388 public function get_template_ids_to_sanitize() {388 public function data_sanitize_template_id() { 389 389 return array( 390 390 array( 'tt1-blocks/index', 'tt1-blocks//index' ),
Note: See TracChangeset
for help on using the changeset viewer.