Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2e1bdcd

Browse files
committedMar 3, 2025
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)
Please sign in to comment.