Make WordPress Core


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

    r37723 r39173  
    99        function test_exclusion_of_sourcemaps() {
    1010                $file = ABSPATH . WPINC . '/js/backbone.min.js';
    11                 $this->assertTrue( file_exists( $file ) );
     11                $this->assertFileExists( $file );
    1212                $contents = trim( file_get_contents( $file ) );
    1313                $this->assertFalse( strpos( $contents, 'sourceMappingURL' ), 'Presence of sourceMappingURL' );
Note: See TracChangeset for help on using the changeset viewer.