Changeset 36885
- Timestamp:
- 03/08/2016 04:44:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesUpdateCore.php
r36843 r36885 21 21 22 22 /** 23 * Ensure no project files are inside `$_old_files` .23 * Ensure no project files are inside `$_old_files` in the build directory. 24 24 * 25 25 * @ticket 36083 26 26 * 27 * @dataProvider data_old_files28 *29 * @param string $file File name.30 */31 public function test_new_files_are_not_in_old_files_array( $file ) {32 $this->assertFalse( file_exists( ABSPATH . $file ) );33 $this->assertFalse( file_exists( ABSPATH . str_replace( '.min.', '.', $file ) ) );34 $this->assertFalse( file_exists( ABSPATH . str_replace( '-rtl.min.', '.', $file ) ) );35 }36 37 /**38 * Ensure no project files are inside `$_old_files` in the build directory.39 *40 * The previous test confirms that no existing files are inside `$_old_files`.41 * However, we must also confirm that these do not exist in the final build.42 *43 * @ticket 3608344 *45 * @depends test_new_files_are_not_in_old_files_array46 27 * @dataProvider data_old_files 47 28 *
Note: See TracChangeset
for help on using the changeset viewer.