Skip to content

Commit

Permalink
Fix the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
babenkoivan committed Feb 7, 2022
1 parent bac06c4 commit e4ec1f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Unit/Search/SearchRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ public function test_array_casting_with_collapse(): void

public function test_array_casting_with_aggregations(): void
{
(new SearchRequest())->aggregations([
$request = new SearchRequest();

$request->aggregations([
'min_price' => [
'min' => [
'field' => 'price',
Expand Down

0 comments on commit e4ec1f0

Please sign in to comment.