Changeset 59061 for trunk/tests/phpunit/tests/block-template.php
- Timestamp:
- 09/18/2024 09:04:48 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/block-template.php
r58323 r59061 396 396 */ 397 397 public function test_get_block_templates_paths_dir_exists() { 398 $theme_dir = get_template_directory();398 $theme_dir = $this->normalizeDirectorySeparatorsInPath( get_template_directory() ); 399 399 // Templates in the current theme. 400 400 $templates = array( … … 416 416 417 417 $template_paths = _get_block_templates_paths( $theme_dir ); 418 $template_paths = array_map( array( $this, 'normalizeDirectorySeparatorsInPath' ), _get_block_templates_paths( $theme_dir ) ); 419 418 420 $this->assertSameSets( $expected_template_paths, $template_paths ); 419 421 }
Note: See TracChangeset
for help on using the changeset viewer.