Skip to content

Commit 69c29e4

Browse files
committed
fix: Fixed reset
1 parent 81fd00d commit 69c29e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/tech/amikos/chromadb/TestAPI.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public void testReset() throws ApiException, EFException {
165165
try {
166166
client.getCollection("test-collection", ef);
167167
} catch (ApiException e) {
168-
assertEquals(e.getCode(), 500);
168+
assertTrue(Arrays.asList(400, 500).contains(e.getCode()));
169169
}
170170
}
171171

0 commit comments

Comments
 (0)