Skip to content

Commit 93a9567

Browse files
committed
Update fixtures in mock tests
1 parent aa3200d commit 93a9567

File tree

2 files changed

+753
-2285
lines changed

2 files changed

+753
-2285
lines changed

tests/Entity/Collection/EntityCollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)