File tree Expand file tree Collapse file tree 2 files changed +753
-2285
lines changed
Expand file tree Collapse file tree 2 files changed +753
-2285
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ public function testEntityCollection()
3232 $ this ->assertEquals ("https://www.drupal.org/api-d7/comment.json?page=0 " , (string ) $ collection ->getFirstLink ());
3333 $ this ->assertEquals ("https://www.drupal.org/api-d7/comment.json?page=59344 " , (string ) $ collection ->getPreviousLink ());
3434 $ this ->assertEquals ("https://www.drupal.org/api-d7/comment.json?page=59346 " , (string ) $ collection ->getNextLink ());
35- $ this ->assertEquals ("https://www.drupal.org/api-d7/comment.json?page=59358 " , (string ) $ collection ->getLastLink ());
35+ $ this ->assertEquals ("https://www.drupal.org/api-d7/comment.json?page=168029 " , (string ) $ collection ->getLastLink ());
3636
3737 foreach ($ collection as $ id => $ item ) {
3838 $ this ->assertNotEmpty ($ item ->getData ()->cid );
3939 }
4040
41- $ this ->assertEquals (100 , count ($ collection ));
41+ $ this ->assertEquals (50 , count ($ collection ));
4242 }
4343
4444 public function testCommentCollection ()
You can’t perform that action at this time.
0 commit comments