Skip to content

Commit

Permalink
fix testExportMetadata via CYPHER 5 prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 committed Feb 17, 2025
1 parent cb8b198 commit 4e71831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extended/src/test/java/apoc/systemdb/SystemDbTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ public void testWriteStatements() {
@Test
public void testExportMetadata() {
// We test triggers
final String triggerOne = "CALL apoc.trigger.add('firstTrigger', 'RETURN $alpha', {phase:\"after\"}, {params: {alpha:1}});";
final String triggerTwo = "CALL apoc.trigger.add('beta', 'RETURN 1', {}, {params: {}});";
final String triggerOne = "CALL apoc.trigger.add('firstTrigger', 'CYPHER 5 RETURN $alpha', {phase:\"after\"}, {params: {alpha:1}});";
final String triggerTwo = "CALL apoc.trigger.add('beta', 'CYPHER 5 RETURN 1', {}, {params: {}});";
// In this case we paused to test that it will be exported as paused
final String pauseTrigger = "CALL apoc.trigger.pause('beta');";
db.executeTransactionally(triggerOne);
Expand Down

0 comments on commit 4e71831

Please sign in to comment.