Changeset 52010 for trunk/tests/phpunit/tests/block-template-utils.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/block-template-utils.php
r51657 r52010 34 34 } 35 35 36 function test_build_template_result_from_post() {36 public function test_build_template_result_from_post() { 37 37 $template = _build_template_result_from_post( 38 38 self::$post, … … 54 54 * Should retrieve the template from the CPT. 55 55 */ 56 function test_get_block_template_from_post() {56 public function test_get_block_template_from_post() { 57 57 $id = get_stylesheet() . '//' . 'my_template'; 58 58 $template = get_block_template( $id, 'wp_template' ); … … 68 68 * Should retrieve block templates. 69 69 */ 70 function test_get_block_templates() {70 public function test_get_block_templates() { 71 71 function get_template_ids( $templates ) { 72 72 return array_map(
Note: See TracChangeset
for help on using the changeset viewer.