Skip to content

Commit b6c269b

Browse files
committed
rm references to vpack
1 parent 90c4d4e commit b6c269b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ void transactionNumber(ArangoDatabase db) {
12241224

12251225
@ParameterizedTest(name = "{index}")
12261226
@MethodSource("dbs")
1227-
void transactionVPack(ArangoDatabase db) {
1227+
void transactionJsonNode(ArangoDatabase db) {
12281228
final TransactionOptions options = new TransactionOptions().params(JsonNodeFactory.instance.textNode("test"));
12291229
final JsonNode result = db.transaction("function (params) {return params;}", JsonNode.class, options);
12301230
assertThat(result.isTextual()).isTrue();

driver/src/test/java/com/arangodb/async/example/document/GetDocumentExampleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void getAsBaseDocument() throws InterruptedException, ExecutionException {
6969
}
7070

7171
@Test
72-
void getAsVPack() throws InterruptedException, ExecutionException {
72+
void getAsJsonNode() throws InterruptedException, ExecutionException {
7373
collection.getDocument(key, JsonNode.class)
7474
.whenComplete((doc, ex) -> {
7575
assertThat(doc).isNotNull();

driver/src/test/java/com/arangodb/example/document/AqlQueryWithSpecialReturnTypesExampleTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ void aqlWithLimitQueryAsJsonObject() {
6464
final ArangoCursor<ObjectNode> cursor = db.query(query, bindVars, null, ObjectNode.class);
6565
assertThat((Object) cursor).isNotNull();
6666
while (cursor.hasNext()) {
67-
final ObjectNode vpack = cursor.next();
68-
assertThat(vpack.get("name").asText())
67+
final ObjectNode node = cursor.next();
68+
assertThat(node.get("name").asText())
6969
.isIn("TestUser11", "TestUser13", "TestUser15", "TestUser17", "TestUser19");
70-
assertThat(vpack.get("gender").asText()).isEqualTo(Gender.FEMALE.name());
71-
assertThat(vpack.get("age").asInt()).isIn(21, 23, 25, 27, 29);
70+
assertThat(node.get("gender").asText()).isEqualTo(Gender.FEMALE.name());
71+
assertThat(node.get("age").asInt()).isIn(21, 23, 25, 27, 29);
7272
}
7373
}
7474

0 commit comments

Comments
 (0)