aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/pom.xml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-06-18 15:28:32 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-07-20 15:47:25 +0200
commiteb1e3dbeb2d493f253ad0b720872fb08b9c0222d (patch)
tree1038933eca4661f7768d56ee5aacd6e944ba86d0 /aai-resources/pom.xml
parente74cffd22147bf7e99c44ba9d8c00c34d662c4de (diff)
Make LegacyMoxyConsumerTest a @SpringBootTest
- replace AAISetup with @SpringBootTest in LegacyMoxyConsumerTest - introduce WebTestClient to more elegantly declare requests - do not statically invoke AAIGraph.getInstance in some tests [1] [1] If those tests are run individually, launching the graph will fail since the spring context is not available then. It works in the pipeline, since other tests run before that launch the context. Issue-ID: AAI-3887 Change-Id: I075c1f94e0a519d5cfa760cc07e446a26549c699 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r--aai-resources/pom.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index bc37acd..d580966 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -453,7 +453,8 @@
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-junit</artifactId>
+ <artifactId>hamcrest</artifactId>
+ <version>2.2</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>