Index: pkg/oauth2/test/handle_access_token_response_test.dart |
diff --git a/pkg/oauth2/test/handle_access_token_response_test.dart b/pkg/oauth2/test/handle_access_token_response_test.dart |
index 48465f2044a590319d5cab2e368e8b738e1ca05f..6bfb7da06b62e215016e9afe4a9b8386b892d680 100644 |
--- a/pkg/oauth2/test/handle_access_token_response_test.dart |
+++ b/pkg/oauth2/test/handle_access_token_response_test.dart |
@@ -16,7 +16,7 @@ import 'utils.dart'; |
final Uri tokenEndpoint = new Uri.fromString("https://example.com/token"); |
-final Date startTime = new Date.now(); |
+final DateTime startTime = new DateTime.now(); |
oauth2.Credentials handle(http.Response response) => |
handleAccessTokenResponse(response, tokenEndpoint, startTime, ["scope"]); |