Skip to content

Commit

Permalink
Added required mocks for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Mar 3, 2013
1 parent aae1cfe commit 75d34c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Microsoft.AspNet.SignalR.Tests/Client/TransportFacts.cs
Expand Up @@ -88,6 +88,8 @@ public void SendCatchesOnReceivedExceptions()
It.IsAny<IDictionary<string, string>>()))
.Returns(TaskAsyncHelper.FromResult(response.Object));

connection.Setup(c => c.ConnectionId).Returns("someid");
connection.Setup(c => c.Trace).Returns(new StringWriter());
connection.SetupGet(c => c.Url).Returns("");
connection.SetupGet(c => c.QueryString).Returns("");
connection.SetupGet(c => c.ConnectionToken).Returns("");
Expand Down

0 comments on commit 75d34c2

Please sign in to comment.