File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
blackbox-test/src/test/java/example/jakarta Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 10
10
11
11
import static org .assertj .core .api .Assertions .assertThat ;
12
12
13
- class AllSortsDefaultMessageTest {
13
+ class AllSortsBeanTest {
14
14
15
15
final Validator validator = Validator .builder ().build ();
16
16
@@ -121,20 +121,4 @@ void null_DE() {
121
121
assertThat (constraint .message ()).isEqualTo ("muss null sein" );
122
122
}
123
123
124
- // @Test
125
- // void pattern_EN() {
126
- // var bean = new AllSortsBean();
127
- // bean.myPattern = "Invalid";
128
- // ConstraintViolation constraint = one(bean, Locale.ENGLISH);
129
- // assertThat(constraint.message()).isEqualTo("must match \"[0-9]\"");
130
- // }
131
- //
132
- // @Test
133
- // void pattern_DE() {
134
- // var bean = new AllSortsBean();
135
- // bean.myPattern = "Invalid";
136
- // ConstraintViolation constraint = one(bean, Locale.GERMAN);
137
- // assertThat(constraint.message()).isEqualTo("muss mit \"[0-9]\" übereinstimmen");
138
- // }
139
-
140
124
}
You can’t perform that action at this time.
0 commit comments