From b0659f660b6e8151a10da1c6c16310ec0101c380 Mon Sep 17 00:00:00 2001 From: Mikael Mengistu Date: Tue, 7 May 2019 18:04:56 -0700 Subject: [PATCH] Add System.Text.Json protocol to the SignalR functional tests (#9936) --- .../csharp/Client/test/FunctionalTests/HubConnectionTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs b/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs index 9a013291a2..79cead3405 100644 --- a/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs +++ b/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs @@ -1674,7 +1674,8 @@ namespace Microsoft.AspNetCore.SignalR.Client.FunctionalTests public static Dictionary HubProtocols => new Dictionary { - { "json", new NewtonsoftJsonHubProtocol() }, + { "json", new JsonHubProtocol() }, + { "newtonsoft-json", new NewtonsoftJsonHubProtocol() }, { "messagepack", new MessagePackHubProtocol() }, };