- Timestamp:
- 07/14/2020 01:28:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/media-gallery-widget.php
r46586 r48464 59 59 $attachments = array(); 60 60 foreach ( array( 'canola.jpg', 'waffles.jpg' ) as $filename ) { 61 $test_image = '/tmp/'. $filename;61 $test_image = get_temp_dir() . $filename; 62 62 copy( DIR_TESTDATA . '/images/canola.jpg', $test_image ); 63 63 $attachment_id = self::factory()->attachment->create_object(
Note: See TracChangeset
for help on using the changeset viewer.