Skip to content

Commit 228a6f4

Browse files
author
Amir Tocker
committed
Modify categorization test result value.
1 parent 86ec198 commit 228a6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudinary-test-common/src/main/java/com/cloudinary/test/AbstractUploaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public void testCategorizationRequest() {
360360
try {
361361
cloudinary.uploader().upload(SRC_TEST_IMAGE, ObjectUtils.asMap("categorization", "illegal"));
362362
} catch (Exception e) {
363-
assertTrue(e.getMessage().matches("(.*)(Illegal value|not a valid)(.*)"));
363+
assertTrue(e.getMessage().matches("(.*)(Illegal value|not a valid|invalid)(.*)"));
364364
}
365365
}
366366

0 commit comments

Comments
 (0)