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 9e49fa8 commit 0dd834fCopy full SHA for 0dd834f
tests/Query/MatchQueryTest.php
@@ -42,11 +42,10 @@ public function testItBuildTheQueryWithAnAnalyzer(): void
42
public function testItBuildTheQueryWithBoolean(): void
43
{
44
$query = new MatchQuery('is_closed', true);
45
-
46
- $this->assertEquals([
+ $this->assertSame([
47
'match' => [
48
'is_closed' => [
49
- 'query' => 'a brown fox'
+ 'query' => true
50
],
51
52
], $query->build());
@@ -57,7 +56,7 @@ public function testItBuildTheQueryWithIntefer(): void
57
56
58
$query = new MatchQuery('count', 1);
59
60
61
62
'count' => [
63
'query' => 1
0 commit comments