diff options
author | 2025-02-14 11:50:24 +0100 | |
---|---|---|
committer | 2025-02-14 11:50:24 +0100 | |
commit | 10a8e53d4f40b0948f9dd8bedc80a671e973cb8a (patch) | |
tree | c8f7debf30d4d8df94c94aa369feb98e82441dad | |
parent | 182ac84c9604f0c6ddbc9b84b1a288b3436b0004 (diff) |
Reenable tests for the so-api-handler-infra and mso-requests-db modules
- exception message that is asserted in test likely changed due to version
update of the org.json dependency that was done in the meantime
Issue-ID: SO-4138
Change-Id: I48499cccc40f7c01e3d3f14def6301c8a6486cc1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
3 files changed, 11 insertions, 1 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/pom.xml b/mso-api-handlers/mso-api-handler-infra/pom.xml index 64728a9615..be58227c7a 100644 --- a/mso-api-handlers/mso-api-handler-infra/pom.xml +++ b/mso-api-handlers/mso-api-handler-infra/pom.xml @@ -111,6 +111,11 @@ <scope>test</scope> </dependency> <dependency> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/tenantisolation/helpers/SDCClientHelperTest.java b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/tenantisolation/helpers/SDCClientHelperTest.java index 063902152c..391d1909c1 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/tenantisolation/helpers/SDCClientHelperTest.java +++ b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/tenantisolation/helpers/SDCClientHelperTest.java @@ -79,7 +79,7 @@ public class SDCClientHelperTest extends BaseTest { assertEquals("500", jsonResponse.get("statusCode")); assertEquals("", jsonResponse.get("messageId")); assertEquals( - " Encountered Error while calling SDC POST Activate. JSONObject[\"requestError\"] is not a JSONObject.", + " Encountered Error while calling SDC POST Activate. JSONObject[\"requestError\"] is not a JSONObject (class java.lang.String : ).", jsonResponse.get("message")); } diff --git a/mso-api-handlers/mso-requests-db/pom.xml b/mso-api-handlers/mso-requests-db/pom.xml index 886e27e3e1..77f03c029e 100644 --- a/mso-api-handlers/mso-requests-db/pom.xml +++ b/mso-api-handlers/mso-requests-db/pom.xml @@ -25,6 +25,11 @@ <scope>test</scope> </dependency> <dependency> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> <scope>test</scope> |