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..beba061903085df94b97db9e390448129dc1dded 100644 |
--- a/pkg/oauth2/test/handle_access_token_response_test.dart |
+++ b/pkg/oauth2/test/handle_access_token_response_test.dart |
@@ -14,7 +14,7 @@ import '../lib/oauth2.dart' as oauth2; |
import '../lib/src/handle_access_token_response.dart'; |
import 'utils.dart'; |
-final Uri tokenEndpoint = new Uri.fromString("https://example.com/token"); |
+final Uri tokenEndpoint = Uri.parse("https://example.com/token"); |
final Date startTime = new Date.now(); |