Skip to content

Commit

Permalink
Correct assertion method in prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbu committed Feb 13, 2015
1 parent 9efcaf3 commit be30844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/System.Web.Mvc.Test/Test/RequireHttpsAttributeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ public void OnAuthorizationRedirectsIfRequestIsNotSecureAndMethodIsGet()
RedirectResult result = authContext.Result as RedirectResult;

// Assert
Assert.IsFalse(attr.Permanent);
Assert.False(attr.Permanent);
Assert.NotNull(result);
Assert.Equal("https://www.example.com/alpha/bravo/charlie?q=quux", result.Url);
Assert.IsFalse(result.Permanent);
Assert.False(result.Permanent);
}

[Theory]
Expand Down

0 comments on commit be30844

Please sign in to comment.