Changeset 35276 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 10/20/2015 04:04:26 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r35242 r35276 147 147 // check number is appended for file already exists 148 148 $this->assertFileExists( $testdir . 'test-image.png', 'Test image does not exist' ); 149 $this->assertEquals( 'test-image 1.png', wp_unique_filename( $testdir, 'test-image.png' ), 'Number not appended correctly' );150 $this->assertFileNotExists( $testdir . 'test-image 1.png' );149 $this->assertEquals( 'test-image-1.png', wp_unique_filename( $testdir, 'test-image.png' ), 'Number not appended correctly' ); 150 $this->assertFileNotExists( $testdir . 'test-image-1.png' ); 151 151 152 152 // check special chars
Note: See TracChangeset
for help on using the changeset viewer.