TASK: Prevent php warning for stdClass constant

This commit is contained in:
Daniel Siepmann 2018-10-27 11:23:31 +02:00
parent 577a5624b8
commit e5e8f41ad5
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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.'
); );