Changeset 45607 for trunk/tests/phpunit/tests/theme/themeDir.php
- Timestamp:
- 07/08/2019 12:55:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/themeDir.php
r42816 r45607 146 146 // Ignore themes in the default /themes directory. 147 147 foreach ( $themes as $theme_name => $theme ) { 148 if ( $theme->get_theme_root() != $this->theme_root ) {148 if ( $theme->get_theme_root() !== $this->theme_root ) { 149 149 unset( $themes[ $theme_name ] ); 150 150 } … … 210 210 211 211 $templates = $theme['Template Files']; 212 $this->assertTrue( in_array( $this->theme_root . '/page-templates/template-top-level.php', $templates ) );212 $this->assertTrue( in_array( $this->theme_root . '/page-templates/template-top-level.php', $templates, true ) ); 213 213 } 214 214
Note: See TracChangeset
for help on using the changeset viewer.