diff --git a/src/Api.php b/src/Api.php index 7734a09..e8e297e 100644 --- a/src/Api.php +++ b/src/Api.php @@ -35,7 +35,7 @@ class Api implements ApiInterface { - public string $apiUrl = 'https://api.lexoffice.io'; + public string $apiUrl = 'https://api.lexware.io'; protected string $apiVersion = 'v1'; diff --git a/tests/ApiTest.php b/tests/ApiTest.php index ce99164..6241896 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -69,7 +69,7 @@ public function testApiUrl(): void new Response(200, [], 'post-content') ); - $this->assertStringStartsWith('api.lexoffice.io', $stub->getRequest()->getUri()->getHost()); + $this->assertStringStartsWith('api.lexware.io', $stub->getRequest()->getUri()->getHost()); $stub->apiUrl = 'https://test.de'; $stub->newRequest('POST', 'post-content');