Skip to content

Commit

Permalink
Configure host data for more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Mar 3, 2013
1 parent 95c725e commit de7d7ee
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -339,7 +339,10 @@ public void DetailedErrorsAreDisabledByDefault(HostType hostType, TransportType
using (var host = CreateHost(hostType, transportType))
{
host.Initialize();
var connection = new Client.Hubs.HubConnection(host.Url + "/signalr2/test", useDefaultUrl: false);
var query = new Dictionary<string, string>();
SetHostData(host, query);
query["test"] = GetTestName();
var connection = new Client.Hubs.HubConnection(host.Url + "/signalr2/test", useDefaultUrl: false, queryString: query);
connection.Trace = host.ClientTraceOutput;

var hub = connection.CreateHubProxy("demo");
Expand Down

0 comments on commit de7d7ee

Please sign in to comment.