Minor test code changes to resolve xUnit2013 build error

This commit is contained in:
Nate McMaster 2017-10-05 15:35:51 -07:00
parent 0959c941b4
commit 54e4f6834e
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}