Skip to content

Commit

Permalink
Update error message on invalid authorization header
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Apr 9, 2024
1 parent e975bca commit ab2ae5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/ApiPlatform/ApiTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function testProtectedEndpoints(string $method, string $uri, string $cont

$content = $response->getContent(false);
$this->assertNotEmpty($content);
$this->assertEquals('No Authorization header provided', $content);
$this->assertEquals('"No Authorization header provided"', $content);

// Test same endpoint with a token but without scopes
$emptyBearerToken = $this->getBearerToken();
Expand Down

0 comments on commit ab2ae5c

Please sign in to comment.