Index: pkg/analysis_server/test/analysis_server_test.dart |
diff --git a/pkg/analysis_server/test/analysis_server_test.dart b/pkg/analysis_server/test/analysis_server_test.dart |
index e12a691149ff624821b05c0f7d6e1e8b05e34b2e..85a6bbcbb2c70373c5c86bd2ef6a89538b15cdeb 100644 |
--- a/pkg/analysis_server/test/analysis_server_test.dart |
+++ b/pkg/analysis_server/test/analysis_server_test.dart |
@@ -131,6 +131,9 @@ import "../foo/foo.dart"; |
} |
void setUp() { |
+ ExtensionManager manager = new ExtensionManager(); |
+ ServerPlugin plugin = new ServerPlugin(); |
+ manager.processPlugins([plugin]); |
channel = new MockServerChannel(); |
resourceProvider = new MemoryResourceProvider(); |
packageMapProvider = new MockPackageMapProvider(); |
@@ -139,7 +142,7 @@ import "../foo/foo.dart"; |
resourceProvider, |
packageMapProvider, |
null, |
- new ServerPlugin(), |
+ plugin, |
new AnalysisServerOptions(), |
() => new MockSdk(), |
InstrumentationService.NULL_SERVICE, |