Skip to content

Commit 8f74095

Browse files
committed
bugfix validation error response code
1 parent 74c7561 commit 8f74095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/arangodb/ArangoDatabaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public void createCollectionWithJsonSchema() {
338338
fail();
339339
} catch (ArangoDBException e) {
340340
assertThat(e.getMessage(), containsString(message));
341-
assertThat(e.getResponseCode(), is(500));
341+
assertThat(e.getResponseCode(), is(400));
342342
assertThat(e.getErrorNum(), is(1620));
343343
}
344344
}

0 commit comments

Comments
 (0)