Skip to content

Commit a1a7229

Browse files
Fixes
1 parent 5ac6cb1 commit a1a7229

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

tests/HttpClient/Message/ResponseMediatorTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,7 @@ public function testGetErrrorMessageInvalidJson(): void
7575

7676
public function testGetPagination(): void
7777
{
78-
$header = <<<'TEXT'
79-
<https://example.gitlab.com>; rel="first",
80-
<https://example.gitlab.com>; rel="next",
81-
<https://example.gitlab.com>; rel="prev",
82-
<https://example.gitlab.com>; rel="last",
83-
TEXT;
78+
$header = '<https://example.gitlab.com>; rel="first",<https://example.gitlab.com>; rel="next",<https://example.gitlab.com>; rel="prev",<https://example.gitlab.com>; rel="last"';
8479

8580
$pagination = [
8681
'first' => 'https://example.gitlab.com',

tests/IntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testRepoContributors(): void
2626

2727
$response = $client
2828
->repositories()
29-
->contributors(5315609);
29+
->contributors(16155465);
3030

3131
$this->assertIsArray($response);
3232
$this->assertTrue(isset($response[2]));

0 commit comments

Comments
 (0)