Minor test code changes to resolve xUnit2013 build error
This commit is contained in:
parent
0959c941b4
commit
54e4f6834e
|
|
@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Internal
|
|||
string testString = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
new ChunkingCookieManager() { ChunkSize = null }.AppendResponseCookie(context, "TestCookie", testString, new CookieOptions());
|
||||
var values = context.Response.Headers["Set-Cookie"];
|
||||
Assert.Equal(1, values.Count);
|
||||
Assert.Single(values);
|
||||
Assert.Equal("TestCookie=" + testString + "; path=/; samesite=lax", values[0]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue