Skip to content

Commit

Permalink
Corrected assertion on error type
Browse files Browse the repository at this point in the history
tck/README.md details that ConstraintVerificationFailed is issued if data already in the database violates the constraint to be created whereas here we want to change data to a state that would be violating a constraint in the database.
  • Loading branch information
arnefischereit committed Sep 8, 2023
1 parent 593b9d4 commit 6b0b527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tck/features/clauses/delete/Delete1.feature
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Feature: Delete1 - Deleting nodes
MATCH (n:X)
DELETE n
"""
Then a ConstraintVerificationFailed should be raised at runtime: DeleteConnectedNode
Then a ConstraintValidationFailed should be raised at runtime: DeleteConnectedNode

Scenario: [8] Failing when deleting a label
Given any graph
Expand Down

0 comments on commit 6b0b527

Please sign in to comment.