Jakarta Cookie HttpOnly Serialization
The new specification represents Cookie attribute using HttpOnly: "" vs HttpOnly: "true". This updates the test to correspond to the new Servlet specification and is a breaking change related to jakarta updates.
This commit is contained in:
@@ -52,7 +52,7 @@ public class CookieMixinTests extends AbstractMixinTests {
|
||||
" \"@class\": \"jakarta.servlet.http.Cookie\"," +
|
||||
" \"name\": \"demo\"," +
|
||||
" \"value\": \"cookie1\"," +
|
||||
" \"attributes\":{\"@class\":\"java.util.Collections$UnmodifiableMap\", \"HttpOnly\": \"true\"}," +
|
||||
" \"attributes\":{\"@class\":\"java.util.Collections$UnmodifiableMap\", \"HttpOnly\": \"\"}," +
|
||||
" \"comment\": null," +
|
||||
" \"maxAge\": -1," +
|
||||
" \"path\": null," +
|
||||
|
||||
Reference in New Issue
Block a user