Changeset 54184 for trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php
- Timestamp:
- 09/15/2022 10:26:28 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php
r54036 r54184 155 155 $theme_data->get_settings() 156 156 ); 157 $this->assertSameSets( 158 array( 159 'page-home' => array( 160 'title' => 'Szablon strony głównej', 161 'postTypes' => array( 'page' ), 162 ), 163 ), 164 $theme_data->get_custom_templates() 157 158 $custom_templates = $theme_data->get_custom_templates(); 159 $this->assertArrayHasKey( 'page-home', $custom_templates ); 160 $this->assertSame( 161 $custom_templates['page-home'], 162 array( 163 'title' => 'Szablon strony głównej', 164 'postTypes' => array( 'page' ), 165 ) 165 166 ); 166 167 $this->assertSameSets( … … 341 342 WP_Theme_JSON_Resolver::get_theme_data()->get_custom_templates(), 342 343 array( 343 'page-home' => array(344 'page-home' => array( 344 345 'title' => 'Homepage', 345 346 'postTypes' => array( 'page' ), 347 ), 348 'custom-single-post-template' => array( 349 'title' => 'Custom Single Post template', 350 'postTypes' => array( 'post' ), 346 351 ), 347 352 )
Note: See TracChangeset
for help on using the changeset viewer.