Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: test/descriptor.dart

Issue 1408423006: Fix the tests. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« pubspec.yaml ('K') | « test/dart2js/supports_valid_options_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/descriptor.dart
diff --git a/test/descriptor.dart b/test/descriptor.dart
index ba2211063a4b8b682fe905799591b1acb805f39b..966a45aae2ee0165c96cf0f73e115374f1d8d431 100644
--- a/test/descriptor.dart
+++ b/test/descriptor.dart
@@ -177,10 +177,10 @@ Descriptor credentialsFile(
return dir(cachePath, [
file('credentials.json', new oauth2.Credentials(
accessToken,
- refreshToken,
- url.resolve('/token'),
- ['https://www.googleapis.com/auth/userinfo.email'],
- expiration).toJson())
+ refreshToken: refreshToken,
+ tokenEndpoint: url.resolve('/token'),
+ scopes: ['https://www.googleapis.com/auth/userinfo.email'],
+ expiration: expiration).toJson())
]);
}));
}
« pubspec.yaml ('K') | « test/dart2js/supports_valid_options_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698