Skip to content

Commit f583d11

Browse files
committed
Fix test asserting error response
OAuth2 Server did an update to their error responses format: thephpleague/oauth2-server#1006
1 parent 5e4f98d commit f583d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/HandlesOAuthErrorsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testShouldHandleOAuthServerException()
4646
});
4747

4848
$this->assertInstanceOf(Response::class, $result);
49-
$this->assertJsonStringEqualsJsonString('{"error":"fatal","message":"Error"}', $result->content());
49+
$this->assertJsonStringEqualsJsonString('{"error":"fatal","error_description":"Error","message":"Error"}', $result->content());
5050
}
5151

5252
public function testShouldHandleOtherExceptions()

0 commit comments

Comments
 (0)