Changeset 43571 for trunk/tests/phpunit/tests/post/query.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/query.php
r42594 r43571 180 180 $file = DIR_TESTDATA . '/images/canola.jpg'; 181 181 $att_ids[1] = self::factory()->attachment->create_object( 182 $file, $post_id, array( 182 $file, 183 $post_id, 184 array( 183 185 'post_mime_type' => 'image/jpeg', 184 186 'menu_order' => rand( 1, 100 ), … … 186 188 ); 187 189 $att_ids[2] = self::factory()->attachment->create_object( 188 $file, $post_id, array( 190 $file, 191 $post_id, 192 array( 189 193 'post_mime_type' => 'image/jpeg', 190 194 'menu_order' => rand( 1, 100 ), … … 192 196 ); 193 197 $att_ids[3] = self::factory()->attachment->create_object( 194 $file, $post_id, array( 198 $file, 199 $post_id, 200 array( 195 201 'post_mime_type' => 'image/jpeg', 196 202 'menu_order' => rand( 1, 100 ), … … 198 204 ); 199 205 $att_ids[4] = self::factory()->attachment->create_object( 200 $file, $post_id, array( 206 $file, 207 $post_id, 208 array( 201 209 'post_mime_type' => 'image/jpeg', 202 210 'menu_order' => rand( 1, 100 ), … … 204 212 ); 205 213 $att_ids[5] = self::factory()->attachment->create_object( 206 $file, $post_id, array( 214 $file, 215 $post_id, 216 array( 207 217 'post_mime_type' => 'image/jpeg', 208 218 'menu_order' => rand( 1, 100 ),
Note: See TracChangeset
for help on using the changeset viewer.