Index: test/serve/web_socket/url_to_asset_id_errors_test.dart |
diff --git a/test/serve/web_socket/url_to_asset_id_errors_test.dart b/test/serve/web_socket/url_to_asset_id_errors_test.dart |
index 10a603390bc7d5bf67236fc540ff9c8e051482ad..4f27b2fb0e2ba95f62c11109d864d6b08c6dd767 100644 |
--- a/test/serve/web_socket/url_to_asset_id_errors_test.dart |
+++ b/test/serve/web_socket/url_to_asset_id_errors_test.dart |
@@ -15,10 +15,11 @@ main() { |
d.dir(appPath, [ |
d.appPubspec() |
]).create(); |
+ pubGet(); |
}); |
integration("responds with NOT_SERVED for an unknown domain", () { |
- pubServe(shouldGetFirst: true); |
+ pubServe(); |
expectWebSocketError("urlToAssetId", { |
"url": "http://example.com:80/index.html" |
}, NOT_SERVED, '"example.com:80" is not being served by pub.'); |
@@ -26,7 +27,7 @@ main() { |
}); |
integration("responds with NOT_SERVED for an unknown port", () { |
- pubServe(shouldGetFirst: true); |
+ pubServe(); |
expectWebSocketError("urlToAssetId", { |
"url": "http://localhost:80/index.html" |
}, NOT_SERVED, '"localhost:80" is not being served by pub.'); |