Changeset 53129 for trunk/tests/phpunit/tests/block-template-utils.php
- Timestamp:
- 04/11/2022 10:36:02 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/block-template-utils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/block-template-utils.php
r52331 r53129 358 358 $zip = new ZipArchive(); 359 359 $zip->open( $filename ); 360 $has_theme_ dir = $zip->locateName( 'theme/' ) !== false;361 $has_block_templates_dir = $zip->locateName( 't heme/templates/' ) !== false;362 $has_block_template_parts_dir = $zip->locateName( ' theme/parts/' ) !== false;363 $this->assertTrue( $has_theme_ dir, 'theme directoryexists' );360 $has_theme_json = $zip->locateName( 'theme.json' ) !== false; 361 $has_block_templates_dir = $zip->locateName( 'templates/' ) !== false; 362 $has_block_template_parts_dir = $zip->locateName( 'parts/' ) !== false; 363 $this->assertTrue( $has_theme_json, 'theme.json exists' ); 364 364 $this->assertTrue( $has_block_templates_dir, 'theme/templates directory exists' ); 365 365 $this->assertTrue( $has_block_template_parts_dir, 'theme/parts directory exists' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)