Skip to content

Commit 025aef5

Browse files
authored
Merge pull request #35 from madewithlove/new-domain
New domain
2 parents f52aab0 + a425795 commit 025aef5

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![License](https://poser.pugx.org/madewithlove/htaccess-api-client/license)](https://packagist.org/packages/madewithlove/htaccess-api-client)
66
[![codecov](https://codecov.io/gh/madewithlove/htaccess-api-client/branch/main/graph/badge.svg)](https://codecov.io/gh/madewithlove/htaccess-api-client)
77

8-
This is an API client to interact with the [Htaccess tester](https://htaccess.madewithlove.be/).
8+
This is an API client to interact with the [Htaccess tester](https://htaccess.madewithlove.com/).
99

1010
### Installation
1111

composer.json

+4
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
"infection/infection": "^0.25",
2121
"phpstan/phpstan": "^1.0.0",
2222
"php-http/guzzle7-adapter": "^1.0"
23+
},
24+
"scripts": {
25+
"test": "phpunit",
26+
"stan": "phpstan analyse"
2327
}
2428
}

src/HtaccessClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private function request(string $method, string $endpoint = '', array $requestDa
129129
{
130130
$request = $this->requestFactory->createServerRequest(
131131
$method,
132-
'https://htaccess.madewithlove.be/api' . $endpoint
132+
'https://htaccess.madewithlove.com/api' . $endpoint
133133
);
134134

135135
/** @var string $requestBody */

tests/HtaccessClientTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function it can share a test run(): void
206206
);
207207

208208
$this->assertStringStartsWith(
209-
'https://htaccess.madewithlove.be',
209+
'https://htaccess.madewithlove.com',
210210
$response->getShareUrl()
211211
);
212212
$this->assertMatchesRegularExpression(
@@ -253,7 +253,7 @@ public function it can share a test run with a referer(): void
253253
);
254254

255255
$this->assertStringStartsWith(
256-
'https://htaccess.madewithlove.be',
256+
'https://htaccess.madewithlove.com',
257257
$response->getShareUrl()
258258
);
259259
$this->assertMatchesRegularExpression(
@@ -286,7 +286,7 @@ public function it can share a test run with a server name(): void
286286
);
287287

288288
$this->assertStringStartsWith(
289-
'https://htaccess.madewithlove.be',
289+
'https://htaccess.madewithlove.com',
290290
$response->getShareUrl()
291291
);
292292
$this->assertMatchesRegularExpression(

0 commit comments

Comments
 (0)