Skip to content

Commit b8c4dc4

Browse files
author
mpv1989
committed
Fix test
1 parent 5ea1851 commit b8c4dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/arangodb/ArangoCollectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public void deleteDocumentIfMatch() throws InterruptedException, ExecutionExcept
660660
final DocumentCreateEntity<BaseDocument> createResult = db.collection(COLLECTION_NAME).insertDocument(doc, null)
661661
.get();
662662
final DocumentDeleteOptions options = new DocumentDeleteOptions().ifMatch(createResult.getRev());
663-
db.collection(COLLECTION_NAME).deleteDocument(createResult.getKey(), null, options);
663+
db.collection(COLLECTION_NAME).deleteDocument(createResult.getKey(), null, options).get();
664664
final CompletableFuture<BaseDocument> f = db.collection(COLLECTION_NAME).getDocument(createResult.getKey(),
665665
BaseDocument.class, null);
666666
assertThat(f, is(notNullValue()));

0 commit comments

Comments
 (0)