Changeset 48464 for trunk/tests/phpunit/tests/widgets/media-widget.php
- Timestamp:
- 07/14/2020 01:28:17 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/media-widget.php
r46586 r48464 139 139 function test_is_attachment_with_mime_type() { 140 140 141 $test_image = '/tmp/canola.jpg';141 $test_image = get_temp_dir() . 'canola.jpg'; 142 142 copy( DIR_TESTDATA . '/images/canola.jpg', $test_image ); 143 143 $attachment_id = self::factory()->attachment->create_object(
Note: See TracChangeset
for help on using the changeset viewer.