Skip to content

Commit aa0344b

Browse files
author
Simonas Šerlinskas
committed
fix php psr2 style issues
1 parent fa40862 commit aa0344b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/Functional/AbstractElasticsearchTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
use Elasticsearch\Client;
1515
use Elasticsearch\ClientBuilder;
1616
use ONGR\ElasticsearchDSL\Search;
17+
use PHPUnit\Framework\TestCase;
1718

18-
abstract class AbstractElasticsearchTestCase extends \PHPUnit\Framework\TestCase
19+
abstract class AbstractElasticsearchTestCase extends TestCase
1920
{
2021
/**
2122
* Test index name in the elasticsearch.

tests/Functional/Query/MatchAllQueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testMatchAll()
4343
$matchAll = new MatchAllQuery();
4444

4545
$search->addQuery($matchAll);
46-
46+
$q = $search->getQueries();
4747
$results = $this->executeSearch($search);
4848

4949
$this->assertEquals($this->getDataArray()['product'], $results);

0 commit comments

Comments
 (0)