diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-11 13:00:16 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-11 13:00:16 +0100 |
commit | de262e53d6c06fd1e3f6a4a7b5b90916a02252ea (patch) | |
tree | 9e52a5d944a997c414bbe194d47dea81950a3d2f | |
parent | 3734d910935f34427632a36206aa3b6b0822c9bf (diff) | |
download | National_eIDAS_Gateway-de262e53d6c06fd1e3f6a4a7b5b90916a02252ea.tar.gz National_eIDAS_Gateway-de262e53d6c06fd1e3f6a4a7b5b90916a02252ea.tar.bz2 National_eIDAS_Gateway-de262e53d6c06fd1e3f6a4a7b5b90916a02252ea.zip |
add dirtyContext annotation
-rw-r--r-- | connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java | 3 |
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; |