We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12fe1af commit 2939411Copy full SHA for 2939411
src/test/java/com/arangodb/ArangoDatabaseTest.java
@@ -340,7 +340,10 @@ public void createCollectionWithSmartJoinAttributeWrong() {
340
db.createCollection(COLLECTION_NAME, new CollectionCreateOptions().smartJoinAttribute("test123"));
341
} catch (ArangoDBException e) {
342
assertThat(e.getErrorNum(), is(4006));
343
- assertThat(e.getResponseCode(), is(500));
+ // TODO:
344
+ // at the moment older server versions reply with response code 500, which is a misbehavior
345
+ // when the fix has been backported to all the supported db versions uncomment the following:
346
+ // assertThat(e.getResponseCode(), is(400));
347
} finally {
348
try {
349
db.collection(COLLECTION_NAME).drop();
0 commit comments