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: x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/custom/InputTypeTranslatorTests.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ public void testFromMap_Throws_IfValueIsNotAString() {
110
110
exception.getMessage(),
111
111
is(
112
112
"Validation Failed: 1: Input type translation value for key [CLASSIFICATION] "
113
-
+ "must be a String that is not null and not empty, received: [Integer].;"
113
+
+ "must be a String that is not null and not empty, received: [12345], type: [Integer].;"
114
114
)
115
115
);
116
116
}
@@ -132,7 +132,7 @@ public void testFromMap_Throws_IfValueIsEmptyString() {
132
132
exception.getMessage(),
133
133
is(
134
134
"Validation Failed: 1: Input type translation value for key [CLASSIFICATION] "
135
-
+ "must be a String that is not null and not empty, received: [String].;"
135
+
+ "must be a String that is not null and not empty, received: [], type: [String].;"
0 commit comments