Changeset 43571 for trunk/tests/phpunit/tests/oembed/getResponseData.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/oembed/getResponseData.php
r42343 r43571 30 30 'height' => 225, 31 31 'html' => get_post_embed_html( 400, 225, $post ), 32 ), $data 32 ), 33 $data 33 34 ); 34 35 } … … 65 66 'height' => 225, 66 67 'html' => get_post_embed_html( 400, 225, $post ), 67 ), $data 68 ), 69 $data 68 70 ); 69 71 } … … 89 91 'title' => 'Some Post', 90 92 'type' => 'link', 91 ), $data 93 ), 94 $data 92 95 ); 93 96 … … 162 165 $file = DIR_TESTDATA . '/images/canola.jpg'; 163 166 $attachment_id = self::factory()->attachment->create_object( 164 $file, $post->ID, array( 167 $file, 168 $post->ID, 169 array( 165 170 'post_mime_type' => 'image/jpeg', 166 171 ) … … 180 185 $file = DIR_TESTDATA . '/images/canola.jpg'; 181 186 $post = self::factory()->attachment->create_object( 182 $file, $parent, array( 187 $file, 188 $parent, 189 array( 183 190 'post_mime_type' => 'image/jpeg', 184 191 )
Note: See TracChangeset
for help on using the changeset viewer.