Skip to content

Commit

Permalink
fix DocTest error
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrasa committed Oct 19, 2023
1 parent ddafeae commit 996fe2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.neo4j</groupId>
<artifactId>neosemantics</artifactId>
<version>5.7.0.0</version>
<version>5.11.0.0</version>
<packaging>jar</packaging>
<name>neosemantics (n10s)</name>
<description>n10s is a plugin that enables the use of RDF in Neo4j</description>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/DocsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public static void registerProcedure(GraphDatabaseService db, Class<?>... proced
.resolveDependency(GlobalProcedures.class);
for (Class<?> procedure : procedures) {
try {
globalProcedures.registerProcedure(procedure, true);
globalProcedures.registerFunction(procedure, true);
globalProcedures.registerAggregationFunction(procedure, true);
globalProcedures.registerProcedure(procedure);
globalProcedures.registerFunction(procedure);
globalProcedures.registerAggregationFunction(procedure);
} catch (KernelException e) {
throw new RuntimeException("while registering " + procedure, e);
}
Expand Down

0 comments on commit 996fe2f

Please sign in to comment.