mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-09 16:49:36 +00:00
Fix timezone specific failing test
Update `MvcNamespaceTests` so that the asserted time is in UTC.
This commit is contained in:
+1
-1
@@ -246,7 +246,7 @@ public class MvcNamespaceTests {
|
||||
|
||||
adapter.handle(request, response, handlerMethod);
|
||||
assertThat(handler.recordedValidationError).isTrue();
|
||||
assertThat(handler.date).isInSameDayAs("2009-10-31");
|
||||
assertThat(handler.date).isInSameDayAs("2009-10-31T00:00:00+00:00");
|
||||
assertThat(handler.percent).isEqualTo(Double.valueOf(0.9999));
|
||||
|
||||
CompositeUriComponentsContributor uriComponentsContributor = this.appContext.getBean(
|
||||
|
||||
Reference in New Issue
Block a user