From 822ee7caf8661a9cababfe3fd795bad302971845 Mon Sep 17 00:00:00 2001 From: Chris R Date: Fri, 25 Sep 2015 20:54:56 -0700 Subject: [PATCH] React to configuration API changes. --- .../KestrelWebSocketHelpers.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Microsoft.AspNet.WebSockets.Client.Test/KestrelWebSocketHelpers.cs b/test/Microsoft.AspNet.WebSockets.Client.Test/KestrelWebSocketHelpers.cs index 0a4546148f..fe12587685 100644 --- a/test/Microsoft.AspNet.WebSockets.Client.Test/KestrelWebSocketHelpers.cs +++ b/test/Microsoft.AspNet.WebSockets.Client.Test/KestrelWebSocketHelpers.cs @@ -8,7 +8,6 @@ using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Dnx.Runtime.Infrastructure; using Microsoft.Framework.Configuration; -using Microsoft.Framework.Configuration.Memory; namespace Microsoft.AspNet.WebSockets.Client.Test { @@ -43,7 +42,7 @@ namespace Microsoft.AspNet.WebSockets.Client.Test }; var configBuilder = new ConfigurationBuilder(); - configBuilder.Add(new MemoryConfigurationSource()); + configBuilder.AddInMemoryCollection(); var config = configBuilder.Build(); config["server.urls"] = "http://localhost:54321";