mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
removed write rights from query where its not needed
This commit is contained in:
parent
52d6515f3d
commit
4cea350259
@ -3,7 +3,7 @@ import { getNeode } from '../../backend/build/db/neo4j'
|
||||
|
||||
const neodeInstance = getNeode()
|
||||
|
||||
beforeEach(() => cy.then(() => neodeInstance.cypher('MATCH (everything) DETACH DELETE everything;')))
|
||||
beforeEach(() => cy.then(() => neodeInstance.writeCypher('MATCH (everything) DETACH DELETE everything;')))
|
||||
|
||||
Cypress.Commands.add('neode', () => {
|
||||
return neodeInstance
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user