Changeset 43571 for trunk/tests/phpunit/tests/oembed/template.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/template.php
r42343 r43571 44 44 $file = DIR_TESTDATA . '/images/canola.jpg'; 45 45 $attachment_id = self::factory()->attachment->create_object( 46 $file, $post_id, array( 46 $file, 47 $post_id, 48 array( 47 49 'post_mime_type' => 'image/jpeg', 48 50 ) … … 84 86 $file = DIR_TESTDATA . '/images/canola.jpg'; 85 87 $attachment_id = self::factory()->attachment->create_object( 86 $file, $post->ID, array( 88 $file, 89 $post->ID, 90 array( 87 91 'post_mime_type' => 'image/jpeg', 88 92 'post_title' => 'Hello World', … … 245 249 $file = DIR_TESTDATA . '/images/canola.jpg'; 246 250 $attachment_id = self::factory()->attachment->create_object( 247 $file, $post_id, array( 251 $file, 252 $post_id, 253 array( 248 254 'post_mime_type' => 'image/jpeg', 249 255 )
Note: See TracChangeset
for help on using the changeset viewer.