Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit b96929e

Browse files
committed
Fixes test
1 parent ea9fb03 commit b96929e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Microsoft.AspNetCore.Http.Tests/ResponseCookiesTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public void DeleteCookieWithCookieOptionsShouldKeepPropertiesOfCookieOptions()
5151
Assert.StartsWith(testcookie, cookieHeaderValues[0]);
5252
Assert.Contains("path=/", cookieHeaderValues[0]);
5353
Assert.Contains("expires=Thu, 01 Jan 1970 00:00:00 GMT", cookieHeaderValues[0]);
54+
Assert.Contains("secure", cookieHeaderValues[0]);
55+
Assert.Contains("httponly", cookieHeaderValues[0]);
5456
}
5557

5658
[Fact]

0 commit comments

Comments
 (0)