Skip to content

Commit f277a95

Browse files
committed
Update TestCase.php
1 parent 226c4bf commit f277a95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function getEnvironmentSetUp($app): void
2828
'prefix' => '',
2929
]);
3030

31-
$host = 'http://localhost:'.env('OPENSEARCH_PORT', '9201');
31+
$host = env('OPENSEARCH_HOST', 'http://localhost:'.env('OPENSEARCH_PORT', '9201'));
3232

3333
$app['config']->set('database.connections.opensearch', [
3434
'driver' => 'opensearch',

0 commit comments

Comments
 (0)