Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed hanging owin test

  • Loading branch information...
commit 16c278305ce31c5089b17609c6dd03d21422d258 1 parent 0a5b551
@grumpydev grumpydev authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Nancy.Hosting.Owin.Tests/NancyOwinHostFixture.cs
View
4 src/Nancy.Hosting.Owin.Tests/NancyOwinHostFixture.cs
@@ -344,8 +344,8 @@ public void Should_set_cookie_with_valid_header()
/// <param name="context">Context to return</param>
private void SetupFakeNancyCompleteCallback(NancyContext context)
{
- A.CallTo(() => this.fakeEngine.HandleRequest(A<Request>.Ignored, A<Action<NancyContext>>.Ignored, A<Action<Exception>>.Ignored))
- .Invokes((i => ((Action<NancyContext>)i.Arguments[1]).Invoke(context)));
+ A.CallTo(() => this.fakeEngine.HandleRequest(A<Request>.Ignored, A<Func<NancyContext, NancyContext>>.Ignored, A<Action<NancyContext>>.Ignored, A<Action<Exception>>.Ignored))
+ .Invokes((i => ((Action<NancyContext>)i.Arguments[2]).Invoke(context)));
}
private static T Get<T>(IDictionary<string, object> env, string key)
Please sign in to comment.
Something went wrong with that request. Please try again.