Skip to content

Commit

Permalink
Merge pull request #35 from madewithlove/new-domain
Browse files Browse the repository at this point in the history
New domain
  • Loading branch information
WouterSioen authored Nov 26, 2021
2 parents f52aab0 + a425795 commit 025aef5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![License](https://poser.pugx.org/madewithlove/htaccess-api-client/license)](https://packagist.org/packages/madewithlove/htaccess-api-client)
[![codecov](https://codecov.io/gh/madewithlove/htaccess-api-client/branch/main/graph/badge.svg)](https://codecov.io/gh/madewithlove/htaccess-api-client)

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

### Installation

Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@
"infection/infection": "^0.25",
"phpstan/phpstan": "^1.0.0",
"php-http/guzzle7-adapter": "^1.0"
},
"scripts": {
"test": "phpunit",
"stan": "phpstan analyse"
}
}
2 changes: 1 addition & 1 deletion src/HtaccessClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private function request(string $method, string $endpoint = '', array $requestDa
{
$request = $this->requestFactory->createServerRequest(
$method,
'https://htaccess.madewithlove.be/api' . $endpoint
'https://htaccess.madewithlove.com/api' . $endpoint
);

/** @var string $requestBody */
Expand Down
6 changes: 3 additions & 3 deletions tests/HtaccessClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function it can share a test run(): void
);

$this->assertStringStartsWith(
'https://htaccess.madewithlove.be',
'https://htaccess.madewithlove.com',
$response->getShareUrl()
);
$this->assertMatchesRegularExpression(
Expand Down Expand Up @@ -253,7 +253,7 @@ public function it can share a test run with a referer(): void
);

$this->assertStringStartsWith(
'https://htaccess.madewithlove.be',
'https://htaccess.madewithlove.com',
$response->getShareUrl()
);
$this->assertMatchesRegularExpression(
Expand Down Expand Up @@ -286,7 +286,7 @@ public function it can share a test run with a server name(): void
);

$this->assertStringStartsWith(
'https://htaccess.madewithlove.be',
'https://htaccess.madewithlove.com',
$response->getShareUrl()
);
$this->assertMatchesRegularExpression(
Expand Down

0 comments on commit 025aef5

Please sign in to comment.