Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
babenkoivan committed Jan 30, 2025
1 parent b23bcea commit 71ce832
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/Integration/Queries/RawQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,12 @@ public function test_search_result_can_be_cached(): void
$cacheStore = Cache::store('file');
$cacheStore->clear();

$found = $cacheStore->rememberForever('raw_search_result', static function () {
return Book::searchQuery(['match_all' => new stdClass()])
$found = $cacheStore->rememberForever(
'raw_search_result',
static fn () => Book::searchQuery(['match_all' => new stdClass()])
->sort('id')
->execute();
});
->execute()
);

$this->assertFoundModels($target, $found);
}
Expand Down

0 comments on commit 71ce832

Please sign in to comment.