From 5f784deab3a7fdf51357fda2b24e171ee273be6f Mon Sep 17 00:00:00 2001
From: rschneider <97682836+rainer-exxcellent@users.noreply.github.com>
Date: Tue, 4 Jul 2023 07:46:48 +0200
Subject: [PATCH] feat(bridge-tests): fix tests after change in changelog logic
---
bpdm-bridge-dummy/pom.xml | 2 ++
.../kotlin/com/catenax/bpdm/bridge/dummy/BridgeSyncIT.kt | 2 +-
bpdm-gate/pom.xml | 2 ++
bpdm-pool/pom.xml | 2 ++
pom.xml | 5 ++---
5 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/bpdm-bridge-dummy/pom.xml b/bpdm-bridge-dummy/pom.xml
index d2dbc8fa8..efd5d3303 100644
--- a/bpdm-bridge-dummy/pom.xml
+++ b/bpdm-bridge-dummy/pom.xml
@@ -153,11 +153,13 @@
org.testcontainers
junit-jupiter
+ ${testcontainers.version}
test
org.testcontainers
postgresql
+ ${testcontainers.version}
test
diff --git a/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/BridgeSyncIT.kt b/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/BridgeSyncIT.kt
index 3324a8843..7d78fbde2 100644
--- a/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/BridgeSyncIT.kt
+++ b/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/BridgeSyncIT.kt
@@ -114,7 +114,7 @@ class BridgeSyncIT @Autowired constructor(
assertPoolChangelogHasCount(3 + 3)
// 3 legal entities
- val sharingStatesOkay = assertSharingStatesSuccessful(3)
+ val sharingStatesOkay = assertSharingStatesSuccessful(6)
val bpnByExternalId = buildBpnByExternalIdMap(sharingStatesOkay)
val gateLegalEntityRequestByBpn = gateLegalEntityRequests.associateBy { bpnByExternalId[it.externalId]!! }
diff --git a/bpdm-gate/pom.xml b/bpdm-gate/pom.xml
index 48d8123f9..1dba87eb0 100644
--- a/bpdm-gate/pom.xml
+++ b/bpdm-gate/pom.xml
@@ -145,11 +145,13 @@
org.testcontainers
junit-jupiter
+ ${testcontainers.version}
test
org.testcontainers
postgresql
+ ${testcontainers.version}
test
diff --git a/bpdm-pool/pom.xml b/bpdm-pool/pom.xml
index 2a7b7d9d8..b84492211 100644
--- a/bpdm-pool/pom.xml
+++ b/bpdm-pool/pom.xml
@@ -153,11 +153,13 @@
org.testcontainers
junit-jupiter
+ ${testcontainers.version}
test
org.testcontainers
postgresql
+ ${testcontainers.version}
test
diff --git a/pom.xml b/pom.xml
index 026007be4..3ae912a7d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,10 +170,9 @@
org.testcontainers
- testcontainers-bom
+ testcontainers
${testcontainers.version}
- pom
- import
+ test