mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-12 07:29:45 +00:00
Adjust tests for OpenSearch
This commit is contained in:
@@ -21,7 +21,7 @@ class OpenSearchContainerTest extends ContainerTestCase
|
||||
public function testOpenSearch(): void
|
||||
{
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, sprintf('http://%s:%d', self::$container->getAddress(), 9200));
|
||||
curl_setopt($ch, CURLOPT_URL, sprintf('http://%s:%d', '127.0.0.1', 9200));
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
|
||||
$response = (string) curl_exec($ch);
|
||||
|
||||
Reference in New Issue
Block a user