Index: test/get/hosted/unlock_if_incompatible_test.dart |
diff --git a/test/get/hosted/unlock_if_incompatible_test.dart b/test/get/hosted/unlock_if_incompatible_test.dart |
index fb6c7f7a31139395b436a56c10e5422d8ca21363..08d011c4e3f230dad61b315971efd19dab456fb2 100644 |
--- a/test/get/hosted/unlock_if_incompatible_test.dart |
+++ b/test/get/hosted/unlock_if_incompatible_test.dart |
@@ -15,7 +15,7 @@ main() { |
pubGet(); |
d.packagesDir({"foo": "1.0.0"}).validate(); |
- servePackages((builder) => builder.serve("foo", "1.0.1")); |
+ globalPackageServer.add((builder) => builder.serve("foo", "1.0.1")); |
d.appDir({"foo": ">1.0.0"}).create(); |
pubGet(); |