Skip to content

Commit 8cb8fff

Browse files
authored
Remove test for similarity search (#163)
1 parent ad2fc48 commit 8cb8fff

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -596,18 +596,6 @@ public void testDetectionUpdate() {
596596
}
597597
}
598598

599-
@Test
600-
public void testSimilaritySearchUpdate() {
601-
// should support requesting similarity search
602-
try {
603-
Map uploadResult = cloudinary.uploader().upload(SRC_TEST_IMAGE, ObjectUtils.asMap("tags", UPLOAD_TAGS));
604-
api.update((String) uploadResult.get("public_id"), ObjectUtils.asMap("similarity_search", "illegal"));
605-
} catch (Exception e) {
606-
assertTrue(e instanceof BadRequest);
607-
assertTrue(e.getMessage().matches("^Illegal value(.*)"));
608-
}
609-
}
610-
611599
@Test
612600
public void testUpdateCustomCoordinates() throws IOException, Exception {
613601
// should update custom coordinates

0 commit comments

Comments
 (0)