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/ajax/MediaEdit.php

    r38113 r39173  
    9595
    9696                foreach ( $files_that_shouldnt_exist as $file ) {
    97                         $this->assertFalse( file_exists( $file ), 'IMAGE_EDIT_OVERWRITE is leaving garbage image files behind.' );
     97                        $this->assertFileNotExists( $file, 'IMAGE_EDIT_OVERWRITE is leaving garbage image files behind.' );
    9898                }
    9999        }
Note: See TracChangeset for help on using the changeset viewer.