summaryrefslogtreecommitdiffstats
path: root/common-be/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src/test/java')
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java
index 899022e9ad..2e8b26fcb4 100644
--- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java
@@ -623,7 +623,8 @@ public class PropertyDataDefinitionTest {
Assert.assertEquals(false, result);
result = testSubject.equals(testSubject);
Assert.assertEquals(true, result);
- result = testSubject.equals(createTestSubject());
+ PropertyDataDefinition other = createTestSubject();
+ result = testSubject.equals(other);
Assert.assertEquals(true, result);
}