Skip to content

Commit

Permalink
Add test to ensure Scout returns
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondfrancis committed Aug 15, 2022
1 parent 8dbecb9 commit d33e65c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Integration/ScoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ class ScoutTest extends BaseTest
public function basic_scout_test()
{
$queries = $this->withQueriesLogged(function () {
UserScout::search('Person')->paginate();
UserScout::search('Person')->fastPaginate();
$results1 = UserScout::search('Person')->paginate();
$results2 = UserScout::search('Person')->fastPaginate();

$this->assertEquals($results1->count(), $results2->count());
});

$this->assertEquals(
Expand Down

0 comments on commit d33e65c

Please sign in to comment.