This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 339af43c2390b1ea80ba01b0484a4f104c2ba77b
Author: Ali Ariff <[email protected]>
AuthorDate: Fri Feb 21 21:28:05 2025 +0100

    GH-3018: Set mode to test during unit test
---
 .../src/test/java/org/apache/jena/shacl/tests/std/TestShaclCoreWG.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/jena-shacl/src/test/java/org/apache/jena/shacl/tests/std/TestShaclCoreWG.java 
b/jena-shacl/src/test/java/org/apache/jena/shacl/tests/std/TestShaclCoreWG.java
index 089625728d..b78e26d91f 100644
--- 
a/jena-shacl/src/test/java/org/apache/jena/shacl/tests/std/TestShaclCoreWG.java
+++ 
b/jena-shacl/src/test/java/org/apache/jena/shacl/tests/std/TestShaclCoreWG.java
@@ -22,6 +22,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 
+import org.apache.jena.shacl.sys.ShaclSystem;
 import org.apache.jena.shacl.testing.ShaclTest;
 import org.apache.jena.shacl.testing.ShaclTestItem;
 import org.apache.jena.shacl.testing.ShaclTests;
@@ -43,6 +44,7 @@ public class TestShaclCoreWG {
     private ShaclTestItem test;
 
     public TestShaclCoreWG(String name,  ShaclTestItem test) {
+        ShaclSystem.setMode(ShaclSystem.Mode.TEST);
         this.test = test;
     }
 

Reply via email to