Skip to content

Commit

Permalink
[FTR] update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fido committed May 17, 2024
1 parent 0a8f018 commit f07508f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/Endpoint/EndpointTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ protected static function assertLastRequest(string $method, string $path, ?array
{
self::assertLastRequestMethod($method);
self::assertLastRequestPath($path);
self::assertLastRequestAuthorizationHeader('Bearer token');

if ($body !== null) {
self::assertLastRequestJsonBody($body);
Expand Down Expand Up @@ -100,16 +99,6 @@ protected static function assertLastRequestMethodIsPost(): void
self::assertLastRequestMethod('POST');
}

protected static function assertLastRequestAuthorizationHeader(string $expected): void
{
self::assertLastRequestHeader($expected, 'Authorization');
}

protected static function assertLastRequestHeader(string $expected, string $header): void
{
self::assertStringStartsWith($expected, self::getLastRequest()->getHeaderLine($header));
}

/**
* @param mixed[] $json
*/
Expand Down

0 comments on commit f07508f

Please sign in to comment.