File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -393,18 +393,7 @@ public function testInvalidQueryException(): void
393
393
}
394
394
}
395
395
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
+
408
397
409
398
public function testWithExactNames (): void
410
399
{
You can’t perform that action at this time.
0 commit comments