You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BindValidationFailureAnalyzerTests.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -66,11 +66,11 @@ public void bindExceptionWithFieldErrorsDueToValidationFailure() {
66
66
FailureAnalysisanalysis = performAnalysis(
67
67
FieldValidationFailureConfiguration.class);
68
68
assertThat(analysis.getDescription())
69
-
.contains(failure("test.foo.foo", "null", "may not be null"));
69
+
.contains(failure("test.foo.foo", "null", "must not be null"));
70
70
assertThat(analysis.getDescription())
71
71
.contains(failure("test.foo.value", "0", "at least five"));
72
72
assertThat(analysis.getDescription())
73
-
.contains(failure("test.foo.nested.bar", "null", "may not be null"));
73
+
.contains(failure("test.foo.nested.bar", "null", "must not be null"));
74
74
}
75
75
76
76
@Test
@@ -93,13 +93,13 @@ public void bindExceptionWithObjectErrorsDueToValidationFailure() throws Excepti
0 commit comments