aboutsummaryrefslogtreecommitdiffstats
path: root/models/src/test/java/org
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-12-20 09:56:01 +0000
committerGerrit Code Review <gerrit@onap.org>2022-12-20 09:56:01 +0000
commit66208f7d9ec65d859803ed347c3fdecd2d99022f (patch)
tree142dd0e9e1d5ee4a518296088bd9d2f5b3cd376d /models/src/test/java/org
parente70bf5c909a4d5abcbc7adcbb4aa120c2e045660 (diff)
parent11ff808f95a2d9a0e43ccf880195ee63b9de0460 (diff)
Merge "Fix copy contructor in DocToscaServiceTemplate in ACM"
Diffstat (limited to 'models/src/test/java/org')
-rw-r--r--models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/AcDefinitionProviderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/AcDefinitionProviderTest.java b/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/AcDefinitionProviderTest.java
index 8184ef1a4..59e3767d1 100644
--- a/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/AcDefinitionProviderTest.java
+++ b/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/AcDefinitionProviderTest.java
@@ -22,7 +22,6 @@ package org.onap.policy.clamp.models.acm.persistence.provider;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
-import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
@@ -66,7 +65,7 @@ class AcDefinitionProviderTest {
var docServiceTemplate = new DocToscaServiceTemplate(inputServiceTemplateProperties);
var docServiceTemplateCopy = new DocToscaServiceTemplate(docServiceTemplate);
- assertNotEquals(0, docServiceTemplate.compareTo(docServiceTemplateCopy));
+ assertThat(docServiceTemplate.compareTo(docServiceTemplateCopy)).isEqualByComparingTo(0);
assertThat(docServiceTemplate.compareToWithoutEntities(docServiceTemplateCopy)).isZero();
var acmDefinition = getAcDefinition(docServiceTemplate);