fix whitespaces in asserts on formatted data
This commit is contained in:
parent
286dc4b1a9
commit
0b5f1bca70
@ -359,6 +359,7 @@ class HsBookingItemRepositoryIntegrationTest extends ContextBasedTestWithCleanup
|
|||||||
.extracting(HsBookingItemEntity::toString)
|
.extracting(HsBookingItemEntity::toString)
|
||||||
.extracting(string -> string.replaceAll("\\s+", " "))
|
.extracting(string -> string.replaceAll("\\s+", " "))
|
||||||
.extracting(string -> string.replaceAll("\"", ""))
|
.extracting(string -> string.replaceAll("\"", ""))
|
||||||
|
.extracting(string -> string.replaceAll(" : ", ": "))
|
||||||
.contains(bookingItemNames);
|
.contains(bookingItemNames);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user