Make WordPress Core


Ignore:
Timestamp:
11/08/2016 11:49:11 PM (9 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/themeDir.php

    r39170 r39173  
    247247        @mkdir( WP_CONTENT_DIR . '/themes/foo-themes' );
    248248
    249         $this->assertTrue( file_exists( WP_CONTENT_DIR . '/themes/foo' ) );
    250         $this->assertTrue( file_exists( WP_CONTENT_DIR . '/themes/foo-themes') );
     249        $this->assertFileExists( WP_CONTENT_DIR . '/themes/foo' );
     250        $this->assertFileExists( WP_CONTENT_DIR . '/themes/foo-themes' );
    251251
    252252        register_theme_directory( '/' );
Note: See TracChangeset for help on using the changeset viewer.