- Timestamp:
- 07/14/2020 01:28:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r48291 r48464 81 81 82 82 $orig_file = DIR_TESTDATA . '/images/canola.jpg'; 83 $this->test_file = '/tmp/canola.jpg';83 $this->test_file = get_temp_dir() . 'canola.jpg'; 84 84 copy( $orig_file, $this->test_file ); 85 85 $orig_file2 = DIR_TESTDATA . '/images/codeispoetry.png'; 86 $this->test_file2 = '/tmp/codeispoetry.png';86 $this->test_file2 = get_temp_dir() . 'codeispoetry.png'; 87 87 copy( $orig_file2, $this->test_file2 ); 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.