aboutsummaryrefslogtreecommitdiff
path: root/connector/src
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-12-11 13:00:16 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-12-11 13:00:16 +0100
commitde262e53d6c06fd1e3f6a4a7b5b90916a02252ea (patch)
tree9e52a5d944a997c414bbe194d47dea81950a3d2f /connector/src
parent3734d910935f34427632a36206aa3b6b0822c9bf (diff)
downloadNational_eIDAS_Gateway-de262e53d6c06fd1e3f6a4a7b5b90916a02252ea.tar.gz
National_eIDAS_Gateway-de262e53d6c06fd1e3f6a4a7b5b90916a02252ea.tar.bz2
National_eIDAS_Gateway-de262e53d6c06fd1e3f6a4a7b5b90916a02252ea.zip
add dirtyContext annotation
Diffstat (limited to 'connector/src')
-rw-r--r--connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java b/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java
index 56d257b5..ab59cf10 100644
--- a/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java
+++ b/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java
@@ -20,6 +20,8 @@ import org.opensaml.xml.io.UnmarshallingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.annotation.DirtiesContext.ClassMode;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
@@ -47,6 +49,7 @@ import at.gv.egiz.eaaf.modules.pvp2.impl.opensaml.initialize.EaafDefaultSaml2Boo
"/eaaf_pvp_idp.beans.xml",
"/spring/SpringTest-context_simple_storage.xml" })
@WebAppConfiguration
+@DirtiesContext(classMode = ClassMode.BEFORE_CLASS)
public class AuthnRequestValidatorTest {
@Autowired private IConfiguration basicConfig;