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

Unified Diff: sdk/lib/_internal/pub/test/lish/utils.dart

Issue 16351003: Move pub over to using the pub.dartlang.org API v2. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 7 years, 6 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
Index: sdk/lib/_internal/pub/test/lish/utils.dart
diff --git a/sdk/lib/_internal/pub/test/lish/utils.dart b/sdk/lib/_internal/pub/test/lish/utils.dart
index ba921e2b07fbfc91b1eed0fbb95fa938af5a738e..6ee3f5e608c31fcb3578e04813987b361aaf65e1 100644
--- a/sdk/lib/_internal/pub/test/lish/utils.dart
+++ b/sdk/lib/_internal/pub/test/lish/utils.dart
@@ -14,7 +14,7 @@ import '../../lib/src/io.dart';
import '../test_pub.dart';
void handleUploadForm(ScheduledServer server, [Map body]) {
- server.handle('GET', '/packages/versions/new.json', (request) {
+ server.handle('GET', '/api/packages/versions/new', (request) {
return server.url.then((url) {
expect(request.headers.value('authorization'),
equals('Bearer access token'));

Powered by Google App Engine
This is Rietveld 408576698