Changeset 39173 for trunk/tests/phpunit/tests/theme.php
- Timestamp:
- 11/08/2016 11:49:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r39065 r39173 211 211 $this->assertNotEmpty( $wp_theme->get('License') ); 212 212 $path_to_style_css = $wp_theme->get_theme_root() . '/' . $wp_theme->get_stylesheet() . '/style.css'; 213 $this->assert True( file_exists( $path_to_style_css ));213 $this->assertFileExists( $path_to_style_css ); 214 214 $theme_data = get_theme_data( $path_to_style_css ); 215 215 $this->assertArrayHasKey( 'License', $theme_data );
Note: See TracChangeset
for help on using the changeset viewer.