Skip to content

Conversation

@lc-nyovchev
Copy link

@lc-nyovchev lc-nyovchev commented Apr 4, 2017

Added a httpOnly cookie ResultMatcher in spring test web SPR-15488

Also, FIxed a small typo in a String var ("unknowCookie" to "unknownCookie")

Basically it allows us to do the following:

@Test public void someTest(){ .... Cookie cookie = result.getResponse().getCookie(name); assertEquals("Response cookie httpOnly", httpOnly, cookie.isHttpOnly()); } 
@pivotal-issuemaster
Copy link

@lc-nyovchev Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@lc-nyovchev Thank you for signing the Contributor License Agreement!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants