From a68867c8f06de0478d7dc1db29f7fe33f7458044 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Mon, 6 Jan 2025 13:39:17 +0100 Subject: [PATCH] Make testing relevant functions public --- Classes/Common/ElasticClientBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Common/ElasticClientBuilder.php b/Classes/Common/ElasticClientBuilder.php index 32347e8..5c8be3b 100644 --- a/Classes/Common/ElasticClientBuilder.php +++ b/Classes/Common/ElasticClientBuilder.php @@ -32,7 +32,7 @@ public static function getClient(): ClientInterface build(); } - protected function initialize(): ElasticClientBuilder + public function initialize(): ElasticClientBuilder { $this->extConf = new Collection( GeneralUtility::makeInstance(ExtensionConfiguration::class)-> @@ -45,7 +45,7 @@ protected function initialize(): ElasticClientBuilder return $this; } - protected function autoconfig (): ElasticClientBuilder { + public function autoconfig (): ElasticClientBuilder { $this->sethosts($this->hosts); if ($this->password) { $this->setBasicAuthentication('elastic', $this->password);