Skip to content

Commit

Permalink
refactor(test): removed the last usage of the legacy query engine fro…
Browse files Browse the repository at this point in the history
…m test cases
  • Loading branch information
tglman committed Dec 14, 2024
1 parent 3af0763 commit 6112c7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import com.orientechnologies.orient.core.record.OElement;
import com.orientechnologies.orient.core.record.OVertex;
import com.orientechnologies.orient.core.record.impl.ODocument;
import com.orientechnologies.orient.core.sql.query.OSQLSynchQuery;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
Expand Down Expand Up @@ -1634,8 +1633,8 @@ public void testDependencyOrdering1() {
// This is a test to ensure that the query scheduler resolves dependencies correctly,
// even if they are unusual or contrived.
List result =
db.query(
new OSQLSynchQuery(
db
.query(
"MATCH {\n"
+ " class: testDependencyOrdering1_Foo,\n"
+ " as: foo\n"
Expand All @@ -1651,7 +1650,9 @@ public void testDependencyOrdering1() {
+ "}.out('testDependencyOrdering1_Bar_Baz') {\n"
+ " where: ($matched.far IS NOT null),\n"
+ " as: baz\n"
+ "} RETURN $matches"));
+ "} RETURN $matches")
.stream()
.toList();
assertEquals(1, result.size());
}

Expand Down

0 comments on commit 6112c7b

Please sign in to comment.