mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 09:56:11 +01:00
TASK: Prevent php warning for stdClass constant
This commit is contained in:
parent
577a5624b8
commit
e5e8f41ad5
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ class QueryFactoryTest extends AbstractUnitTestCase
|
||||||
|
|
||||||
$query = $this->subject->create($searchRequest);
|
$query = $this->subject->create($searchRequest);
|
||||||
$this->assertInstanceOf(
|
$this->assertInstanceOf(
|
||||||
stdClass,
|
'stdClass',
|
||||||
$query->toArray()['query']['match_all'],
|
$query->toArray()['query']['match_all'],
|
||||||
'Empty search request does not create expected query.'
|
'Empty search request does not create expected query.'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue