fix whitespaces in asserts on formatted data

This commit is contained in:
Michael Hoennig 2024-08-11 07:24:31 +02:00
parent 286dc4b1a9
commit 0b5f1bca70

View File

@ -359,6 +359,7 @@ class HsBookingItemRepositoryIntegrationTest extends ContextBasedTestWithCleanup
.extracting(HsBookingItemEntity::toString)
.extracting(string -> string.replaceAll("\\s+", " "))
.extracting(string -> string.replaceAll("\"", ""))
.extracting(string -> string.replaceAll(" : ", ": "))
.contains(bookingItemNames);
}
}