Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Mar 20, 2024
1 parent a712712 commit 26396e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,10 @@ public function testFacets()
$query = new Query();
$results = $query->from('yii2_test_article_index')
->match('about')
->select(new Expression('INTERVAL(author_id,200,400,600,800) AS range'))
->facets([
'range' => [
'select' => 'INTERVAL(author_id,200,400,600,800) AS range',
'select' => 'range',
],
'authorId' => [
'select' => [new Expression('author_id AS authorId')],
Expand Down

0 comments on commit 26396e9

Please sign in to comment.