- Timestamp:
- 07/14/2020 01:28:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/media-image-widget.php
r46586 r48464 413 413 $widget = new WP_Widget_Media_Image(); 414 414 415 $test_image = '/tmp/canola.jpg';415 $test_image = get_temp_dir() . 'canola.jpg'; 416 416 copy( DIR_TESTDATA . '/images/canola.jpg', $test_image ); 417 417 $attachment_id = self::factory()->attachment->create_object(
Note: See TracChangeset
for help on using the changeset viewer.