summaryrefslogtreecommitdiff
path: root/src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php')
-rw-r--r--src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php b/src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php
index e3cbef5..1762d32 100644
--- a/src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php
+++ b/src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php
@@ -81,8 +81,7 @@ final class VyOSElasticModernFulltextStorageEngineTestCase
}
public function testGetSearchUri() {
- $engine = id(new VyOSElasticModernFulltextStorageEngine())
- ->setVersion(7);
+ $engine = $this->newEngine()->setVersion(7);
$this->assertEqual(
'/_search',
$engine->getSearchUri(array('TASK', 'DREV')));