yes it is for integration tests.
Some more info:
- the
delete all relationships
is actually delete relationships with a specific resourceType, relation, subjectType and subjectId
- if instead I delete all relationships with a specific resourceType only the tests pass