Skip to content

Commit

Permalink
Update Test to match new Error Detection
Browse files Browse the repository at this point in the history
Aligns the test with the changes from 8bb1c6d, see PR #1
  • Loading branch information
lukasmerk authored Jan 2, 2024
1 parent 8bb1c6d commit b25e720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Provider/AzureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function testExceptionThrownWhenErrorObjectReceived(): void

$postResponse = m::mock('Psr\Http\Message\ResponseInterface');
$postResponse->shouldReceive('getBody')->andReturn(
'{"error": {"code": "request_token_expired", "message": "' . $message . '"}}'
'{"error": "request_token_expired", "error_description": "' . $message . '"}'
);
$postResponse->shouldReceive('getHeader')->andReturn(['content-type' => 'json']);
$postResponse->shouldReceive('getStatusCode')->andReturn(500);
Expand Down

0 comments on commit b25e720

Please sign in to comment.