Changeset 40649
- Timestamp:
- 05/12/2017 07:37:33 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/base.php
r25002 r40649 24 24 $importer = new WP_Import(); 25 25 $file = realpath( $filename ); 26 assert('!empty($file)'); 27 assert('is_file($file)'); 26 27 $this->assertTrue( ! empty( $file ), 'Path to import file is empty.' ); 28 $this->assertTrue( is_file( $file ), 'Import file is not a file.' ); 28 29 29 30 $authors = $mapping = $new = array();
Note: See TracChangeset
for help on using the changeset viewer.