Skip to content

Commit 80ac1e4

Browse files
committed
Revert the ELASTICSEARCH_URL in Utility
1 parent 5557460 commit 80ac1e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Utility.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ class Utility
5858
*/
5959
public static function getHost(): ?string
6060
{
61-
// $url = getenv('ELASTICSEARCH_URL');
62-
// if (false !== $url) {
63-
// return $url;
64-
// }
61+
$url = getenv('ELASTICSEARCH_URL');
62+
if (false !== $url) {
63+
return $url;
64+
}
6565
if (getenv('TEST_SUITE') === 'free') {
6666
return 'http://localhost:9200';
6767
}

0 commit comments

Comments
 (0)