From 8d094f5efdb8efd8186349dbff4481edb46a1782 Mon Sep 17 00:00:00 2001 From: uxapj <142484468+uxapj@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:04:04 +0000 Subject: [PATCH] fix runner setEnvironmentVariableValue on testClearQuery --- .../src/test/java/com/stardog/nifi/StardogPutTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }"); }