Skip to content

Commit

Permalink
update mock client to return status 200
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednfwela committed Jun 8, 2024
1 parent 1bc77b3 commit 9abaecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oidc/test/mock_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Future<Response> _handleRequest(
final url = request.url;

if (_eq.equals(url.pathSegments, ['.well-known', 'openid-configuration'])) {
return Response(jsonEncode(mockProviderMetadata), 304);
return Response(jsonEncode(mockProviderMetadata), 200);
}
if (url.pathSegments.first == 'token') {
final tokenResp = createMockTokenResponse(
Expand Down

0 comments on commit 9abaecc

Please sign in to comment.