From bc15d778d8f20991cd3af0e82674b85a11231774 Mon Sep 17 00:00:00 2001 From: Juraj Roka Date: Fri, 22 Nov 2024 14:21:17 +0100 Subject: [PATCH] Added context restore auth system state for integration tests run --- .../test/java/org/dspace/builder/ClarinUserMetadataBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dspace-api/src/test/java/org/dspace/builder/ClarinUserMetadataBuilder.java b/dspace-api/src/test/java/org/dspace/builder/ClarinUserMetadataBuilder.java index 0a9f4154551e..7fe92b298555 100644 --- a/dspace-api/src/test/java/org/dspace/builder/ClarinUserMetadataBuilder.java +++ b/dspace-api/src/test/java/org/dspace/builder/ClarinUserMetadataBuilder.java @@ -56,6 +56,7 @@ public static void deleteClarinUserMetadata(Integer id) throws Exception { if (clarinUserMetadata != null) { clarinUserMetadataService.delete(c, clarinUserMetadata); } + c.restoreAuthSystemState(); c.complete(); } }