Add MockHttpServletResponse.getDateHeader
This change adds a new `getDateHeader` method that converts date header Strings to long values - making tests more readable. This feature is also documented in the "what's new section" for 4.2.
This commit is contained in:
@@ -618,4 +618,6 @@ public @interface MyTestConfig {
|
||||
allowing common test database configuration to be reused in different
|
||||
++ApplicationContext++s within a test suite.
|
||||
** See <<jdbc-embedded-database-unique-names>> for details.
|
||||
* `MockHttpServletRequest` and `MockHttpServletResponse` now better supports
|
||||
date header formatting `getDateHeader` and `setDateHeader` methods.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user