From 13ca7a3fdb812467b57c6c4d33e13f69cf3cdcc3 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sat, 23 May 2026 13:21:09 +0300 Subject: E3 fixup: use newEngine() helper in testGetSearchUri MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated by [robots](https://vyos.io) --- src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php') 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'))); -- cgit v1.2.3