diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-23 13:21:09 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-23 13:21:09 +0300 |
| commit | 13ca7a3fdb812467b57c6c4d33e13f69cf3cdcc3 (patch) | |
| tree | 2ea6a96352b6055b5541c9206bd47000153f54f8 /src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php | |
| parent | 4a2e5781883f8963c36ee129cf76c43e887ac4dc (diff) | |
| download | phorge-elasticsearch-modern-13ca7a3fdb812467b57c6c4d33e13f69cf3cdcc3.tar.gz phorge-elasticsearch-modern-13ca7a3fdb812467b57c6c4d33e13f69cf3cdcc3.zip | |
E3 fixup: use newEngine() helper in testGetSearchUri
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php')
| -rw-r--r-- | src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php | 3 |
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'))); |
