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 7f2b456 commit 427efd5Copy full SHA for 427efd5
tests/Integration/ComplexQueryTest.php
@@ -28,6 +28,15 @@
28
29
final class ComplexQueryTest extends EnvironmentAwareIntegrationTest
30
{
31
+ public function setUp(): void
32
+ {
33
+ parent::setUp();
34
+ // testPathReturnType will sometimes run after TransactionIntegrationTest::testTransactionRunNoConsumeButSaveResult
35
+ // in CI, which will leave a node in the database. This will cause the test to fail.
36
+ // This is a workaround to make sure the database is empty before running the test.
37
+ $this->getSession()->run('MATCH (n) DETACH DELETE n');
38
+ }
39
+
40
public function testListParameterHelper(): void
41
42
$result = $this->getSession()->transaction(static fn (TSX $tsx) => $tsx->run('MATCH (x) WHERE x.slug IN $listOrMap RETURN x', [
0 commit comments