diff options
author | Thomas <> | 2022-05-09 07:46:39 +0200 |
---|---|---|
committer | Thomas <> | 2022-05-09 07:46:39 +0200 |
commit | 1ff816539c45ebc195eef5d005787ecce2244779 (patch) | |
tree | 0cf9d05706b8ff20a1484151b8435da678a0e407 /eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java | |
parent | 4af92cb886592bd379ed2e338a383c7f350f5104 (diff) | |
download | EAAF-Components-1ff816539c45ebc195eef5d005787ecce2244779.tar.gz EAAF-Components-1ff816539c45ebc195eef5d005787ecce2244779.tar.bz2 EAAF-Components-1ff816539c45ebc195eef5d005787ecce2244779.zip |
test(http): fix possible false-positive test results
Diffstat (limited to 'eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java')
-rw-r--r-- | eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java index c71d8352..62de99c0 100644 --- a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java +++ b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/http/HttpClientFactoryTest.java @@ -34,6 +34,7 @@ import org.junit.runner.RunWith; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.annotation.DirtiesContext; +import org.springframework.test.annotation.DirtiesContext.ClassMode; import org.springframework.test.annotation.DirtiesContext.MethodMode; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @@ -60,7 +61,7 @@ import okhttp3.tls.HeldCertificate; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration("/spring/test_eaaf_pvp_not_lazy.beans.xml") -@DirtiesContext +@DirtiesContext(classMode = ClassMode.BEFORE_CLASS) public class HttpClientFactoryTest { @Autowired private EaafKeyStoreFactory keyStoreFactory; |