Skip to content

Commit b84b787

Browse files
fix: fix lint and namespace
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent ea7aff8 commit b84b787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/SetupCheck/CheckServerResponseTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function setUp(): void {
5252
* @dataProvider dataInvalidNormalizeUrl
5353
*/
5454
public function testInvalidNormalizeUrl(string $url, bool $isRootRequest): void {
55-
$this->expectException(InvalidArgumentException::class);
55+
$this->expectException(\InvalidArgumentException::class);
5656
$this->expectExceptionMessage('Please verify syntax of all URLs'); // only partial match is required
5757
$this->trait->normalizeUrl($url, $isRootRequest);
5858
}
@@ -145,7 +145,7 @@ public static function dataNormalizeUrl(): array {
145145
'without trailing slash' => ['http://example.com/deep/webroot', true, 'http://example.com'],
146146
'with trailing slash' => ['http://example.com/deep/webroot/', true, 'http://example.com'],
147147
'with port without trailing slash' => ['http://example.com:8081/deep/webroot', true, 'http://example.com:8081'],
148-
'with port and trailing slash' => ['http://example.com:8081/deep/webroot/', true, 'http://example.com:8081'],
148+
'with port and trailing slash' => ['http://example.com:8081/deep/webroot/', true, 'http://example.com:8081'],
149149
// IPv4 instead of hostname without web-root
150150
'nothing to change' => ['https://127.0.0.1', true, 'https://127.0.0.1'],
151151
'with trailing slash' => ['https://127.0.0.1/', true, 'https://127.0.0.1'],

0 commit comments

Comments
 (0)