diff --git a/src/Bridge/Symfony/Bundle/Test/Client.php b/src/Bridge/Symfony/Bundle/Test/Client.php index 68071863333..a3a22899951 100644 --- a/src/Bridge/Symfony/Bundle/Test/Client.php +++ b/src/Bridge/Symfony/Bundle/Test/Client.php @@ -44,7 +44,7 @@ final class Client implements HttpClientInterface 'headers' => ['accept' => ['application/ld+json']], 'body' => '', 'json' => null, - 'base_uri' => 'http://example.com', + 'base_uri' => 'http://localhost', 'extra' => [], ]; diff --git a/tests/Bridge/Symfony/Bundle/Test/ApiTestCaseTest.php b/tests/Bridge/Symfony/Bundle/Test/ApiTestCaseTest.php index 12fa9c00296..6cf8bc4331d 100644 --- a/tests/Bridge/Symfony/Bundle/Test/ApiTestCaseTest.php +++ b/tests/Bridge/Symfony/Bundle/Test/ApiTestCaseTest.php @@ -71,7 +71,7 @@ public function testAssertJsonEquals(): void self::createClient()->request('GET', '/contexts/Address'); $this->assertJsonEquals([ '@context' => [ - '@vocab' => 'http://example.com/docs.jsonld#', + '@vocab' => 'http://localhost/docs.jsonld#', 'hydra' => 'http://www.w3.org/ns/hydra/core#', 'name' => 'Address/name', ], @@ -84,7 +84,7 @@ public function testAssertJsonEqualsWithJsonObjectString(): void $this->assertJsonEquals(<<