We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38a4ab commit e672859Copy full SHA for e672859
tests/Integration/CachedBuilderPaginationTest.php
@@ -39,8 +39,9 @@ public function testPaginationIsCached()
39
$liveResults = (new UncachedAuthor)
40
->paginate(3);
41
42
- $this->assertEquals($cachedResults->toArray(), $authors->toArray());
43
- $this->assertEquals($liveResults->toArray(), $authors->toArray());
+ $this->assertEquals($cachedResults, $authors);
+ $this->assertEquals($liveResults->pluck("email"), $authors->pluck("email"));
44
+ $this->assertEquals($liveResults->pluck("name"), $authors->pluck("name"));
45
}
46
47
public function testPaginationReturnsCorrectLinks()
0 commit comments