Fix timezone specific failing test

Update `MvcNamespaceTests` so that the asserted time is in UTC.
This commit is contained in:
Phillip Webb 2021-09-24 16:33:51 -07:00
parent 693ab84347
commit 50f2016293
1 changed files with 1 additions and 1 deletions

View File

@ -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(