Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for issue #4 same as before

  • Loading branch information...
commit b4631cb6becf9e7968a77f653ea9026d2b76e724 1 parent 1067f74
@buildmaster authored
View
3  Tests/OAuth.MVC.Tests/Results/OAuthExceptionResultSpecifications.cs
@@ -5,6 +5,7 @@
using System.Web.Routing;
using OAuth.Core;
using OAuth.Core.Interfaces;
+using OAuth.MVC.Library;
using OAuth.MVC.Library.Results;
using Rhino.Mocks;
using Xunit;
@@ -86,7 +87,7 @@ public void return_body_should_be_set_to_advice()
[Fact]
public void oauth_header_should_be_set()
{
- Response.AssertWasCalled(response=>response.AddHeader("WWW-Authenticate",String.Format("OAuth Realm=\"{0}\"",Realm)));
+ Response.AssertWasCalled(response=>response.AddHeader("WWW-Authenticate",String.Format("OAuth Realm=\"{0}\"",Settings.Default.Realm)));
}
public override OAuthException Exception
{
Please sign in to comment.
Something went wrong with that request. Please try again.