Skip to content

Commit 6145974

Browse files
PratikshaPratiksha
authored andcommitted
DEBUG
1 parent dd83c5d commit 6145974

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

tests/Integration/Neo4jQueryAPIIntegrationTest.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -393,18 +393,7 @@ public function testInvalidQueryException(): void
393393
}
394394
}
395395

396-
public function testCreateDuplicateConstraintException(): void
397-
{
398-
try {
399-
$this->api->run('CREATE CONSTRAINT person_name FOR (n:Person1) REQUIRE n.name IS UNIQUE', []);
400-
$this->fail('Expected a Neo4jException to be thrown.');
401-
} catch (Neo4jException $e) {
402-
// $errorMessages = $e->getErrorType() . $e->errorSubType() . $e->errorName();
403-
$this->assertInstanceOf(Neo4jException::class, $e);
404-
$this->assertEquals('Neo.ClientError.Schema.EquivalentSchemaRuleAlreadyExists', $e->getErrorCode());
405-
$this->assertNotEmpty($e->getMessage());
406-
}
407-
}
396+
408397

409398
public function testWithExactNames(): void
410399
{

0 commit comments

Comments
 (0)