diff --git a/nifi-stardog-processors/src/test/java/com/stardog/nifi/StardogPutTest.java b/nifi-stardog-processors/src/test/java/com/stardog/nifi/StardogPutTest.java index c710270..43d4927 100644 --- a/nifi-stardog-processors/src/test/java/com/stardog/nifi/StardogPutTest.java +++ b/nifi-stardog-processors/src/test/java/com/stardog/nifi/StardogPutTest.java @@ -104,7 +104,7 @@ public void testClearQuery() { } // Assign a SPARQL update to selectively clear the graph before the ingestion TestRunner runner = newTestRunner(); - runner.setVariable(DATABASE_VAR_NAME, getStardogDatabase()); + runner.setEnvironmentVariableValue(DATABASE_VAR_NAME, getStardogDatabase()); runner.enqueue("{ \"val\" : \"1\" }"); runServerExpressionTest(runner, "prefix : <"+ NS +"> with delete { ?s a :OldType } where { ?s a :OldType }"); }