1
0

use "YYYY-MM-DD" format when writing LocalDate to JSON

This commit is contained in:
Michael Hoennig
2022-10-14 12:37:59 +02:00
parent c6d92e271f
commit 4f22dffe5d
4 changed files with 25 additions and 7 deletions

View File

@@ -76,6 +76,11 @@ class HsOfficePartnerControllerAcceptanceTest {
.contentType("application/json")
.body("", lenientlyEquals("""
[
{
"person": { "familyName": "Smith" },
"contact": { "label": "fifth contact" },
"birthday": "1987-10-31"
},
{
"person": { "tradeName": "First GmbH" },
"contact": { "label": "first contact" }