Skip to content

Commit 2e1bdcd

Browse files
committed
gh-4901: introduce ValidatingEntityCallback
Signed-off-by: felgentraeger <[email protected]>
1 parent 3cde56b commit 2e1bdcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/mapping/event/ValidatingEntityCallbackUnitTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void invalidModel_throwsException() {
5353
}
5454

5555
@Test
56-
void validModel_noException() {
56+
void validModel_noExceptionThrown() {
5757
Coordinates coordinates = new Coordinates(0, 0);
5858
Object entity = callback.onBeforeSave(coordinates, coordinates.toDocument(), "coordinates");
5959
assertThat(entity).isEqualTo(coordinates);

0 commit comments

Comments
 (0)