- Timestamp:
- 08/17/2018 01:50:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/link/getPostCommentsFeedLink.php
r42343 r43571 13 13 'feed' => get_default_feed(), 14 14 'p' => $post_id, 15 ), home_url( '/' ) 15 ), 16 home_url( '/' ) 16 17 ); 17 18 … … 33 34 $post_id = self::factory()->post->create(); 34 35 $attachment_id = self::factory()->attachment->create_object( 35 'image.jpg', $post_id, array( 36 'image.jpg', 37 $post_id, 38 array( 36 39 'post_mime_type' => 'image/jpeg', 37 40 'post_type' => 'attachment', … … 44 47 'feed' => get_default_feed(), 45 48 'p' => $attachment_id, 46 ), home_url( '/' ) 49 ), 50 home_url( '/' ) 47 51 ); 48 52 … … 59 63 ); 60 64 $attachment_id = self::factory()->attachment->create_object( 61 'image.jpg', $post_id, array( 65 'image.jpg', 66 $post_id, 67 array( 62 68 'post_mime_type' => 'image/jpeg', 63 69 'post_type' => 'attachment', … … 79 85 $post_id = self::factory()->post->create(); 80 86 $attachment_id = self::factory()->attachment->create_object( 81 'image.jpg', $post_id, array( 87 'image.jpg', 88 $post_id, 89 array( 82 90 'post_mime_type' => 'image/jpeg', 83 91 'post_type' => 'attachment', … … 93 101 public function test_unattached_link() { 94 102 $attachment_id = self::factory()->attachment->create_object( 95 'image.jpg', 0, array( 103 'image.jpg', 104 0, 105 array( 96 106 'post_mime_type' => 'image/jpeg', 97 107 'post_type' => 'attachment', … … 104 114 'feed' => get_default_feed(), 105 115 'attachment_id' => $attachment_id, 106 ), home_url( '/' ) 116 ), 117 home_url( '/' ) 107 118 ); 108 119 … … 114 125 115 126 $attachment_id = self::factory()->attachment->create_object( 116 'image.jpg', 0, array( 127 'image.jpg', 128 0, 129 array( 117 130 'post_mime_type' => 'image/jpeg', 118 131 'post_type' => 'attachment',
Note: See TracChangeset
for help on using the changeset viewer.