- Timestamp:
- 11/08/2016 11:49:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/ms-files-rewriting.php
r38762 r39173 77 77 78 78 // The file on the main site should still exist. The file on the deleted site should not. 79 $this->assert True( file_exists( $file1['file'] ));80 $this->assertF alse( file_exists( $file2['file'] ));79 $this->assertFileExists( $file1['file'] ); 80 $this->assertFileNotExists( $file2['file'] ); 81 81 82 82 wpmu_delete_blog( $blog_id, true ); 83 83 84 84 // The file on the main site should still exist. The file on the deleted site should not. 85 $this->assert True( file_exists( $file1['file'] ));86 $this->assertF alse( file_exists( $file2['file'] ));85 $this->assertFileExists( $file1['file'] ); 86 $this->assertFileNotExists( $file2['file'] ); 87 87 } 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.