Add tests for the OpenID's id_token, dartfmt
diff --git a/test/handle_access_token_response_test.dart b/test/handle_access_token_response_test.dart
index 1ab3239..8752cbd 100644
--- a/test/handle_access_token_response_test.dart
+++ b/test/handle_access_token_response_test.dart
@@ -260,13 +260,12 @@
});
});
- group('a success response with id_token', () {
+ group('a success response with a id_token', () {
oauth2.Credentials handleSuccess(
{String contentType = "application/json",
accessToken = 'access token',
tokenType = 'bearer',
expiresIn,
- refreshToken,
idToken = 'decode me',
scope}) {
return handle(new http.Response(
@@ -274,7 +273,6 @@
'access_token': accessToken,
'token_type': tokenType,
'expires_in': expiresIn,
- 'refresh_token': refreshToken,
'id_token': idToken,
'scope': scope
}),