Make WordPress Core


Ignore:
Timestamp:
11/08/2016 11:49:11 PM (7 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Utilise assertFileExists() and assertFileNotExists() in more places.

See #38716

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme.php

    r39065 r39173  
    211211        $this->assertNotEmpty( $wp_theme->get('License') );
    212212        $path_to_style_css = $wp_theme->get_theme_root() . '/' . $wp_theme->get_stylesheet() . '/style.css';
    213         $this->assertTrue( file_exists( $path_to_style_css ) );
     213        $this->assertFileExists( $path_to_style_css );
    214214        $theme_data = get_theme_data( $path_to_style_css );
    215215        $this->assertArrayHasKey( 'License', $theme_data );
Note: See TracChangeset for help on using the changeset viewer.