Skip to content

Commit be30844

Browse files
committed
Correct assertion method in prior commit
1 parent 9efcaf3 commit be30844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/System.Web.Mvc.Test/Test/RequireHttpsAttributeTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ public void OnAuthorizationRedirectsIfRequestIsNotSecureAndMethodIsGet()
6464
RedirectResult result = authContext.Result as RedirectResult;
6565

6666
// Assert
67-
Assert.IsFalse(attr.Permanent);
67+
Assert.False(attr.Permanent);
6868
Assert.NotNull(result);
6969
Assert.Equal("https://www.example.com/alpha/bravo/charlie?q=quux", result.Url);
70-
Assert.IsFalse(result.Permanent);
70+
Assert.False(result.Permanent);
7171
}
7272

7373
[Theory]

0 commit comments

Comments
 (0)