summaryrefslogtreecommitdiff
path: root/src/__phutil_library_map__.php
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-23 13:13:22 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-23 13:13:22 +0300
commited0dee0333acf8a1c79845bba6455506c8210bad (patch)
treeded9334a63052323a074c3531273ee1c667f8855 /src/__phutil_library_map__.php
parent04acd3d6b9a95ff49d430eaf4f65aabc25282d88 (diff)
downloadphorge-elasticsearch-modern-ed0dee0333acf8a1c79845bba6455506c8210bad.tar.gz
phorge-elasticsearch-modern-ed0dee0333acf8a1c79845bba6455506c8210bad.zip
E1 fixup: initialize $version to null; getVersion() throws if unset; use TestDouble in tests
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'src/__phutil_library_map__.php')
-rw-r--r--src/__phutil_library_map__.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
index d365d58..291fb03 100644
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -11,6 +11,7 @@ phutil_register_library_map(array(
'class' => array(
'VyOSElasticModernFulltextStorageEngine' => 'engine/VyOSElasticModernFulltextStorageEngine.php',
'VyOSElasticModernFulltextStorageEngineTestCase' => '__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php',
+ 'VyOSElasticModernFulltextStorageEngineTestDouble' => '__tests__/VyOSElasticModernFulltextStorageEngineTestCase.php',
'VyOSElasticModernHost' => 'host/VyOSElasticModernHost.php',
'VyOSElasticModernHostTestCase' => '__tests__/VyOSElasticModernHostTestCase.php',
),
@@ -18,6 +19,7 @@ phutil_register_library_map(array(
'xmap' => array(
'VyOSElasticModernFulltextStorageEngine' => 'PhabricatorFulltextStorageEngine',
'VyOSElasticModernFulltextStorageEngineTestCase' => 'PhutilTestCase',
+ 'VyOSElasticModernFulltextStorageEngineTestDouble' => 'VyOSElasticModernFulltextStorageEngine',
'VyOSElasticModernHost' => 'PhabricatorSearchHost',
'VyOSElasticModernHostTestCase' => 'PhutilTestCase',
),