From 8fea9935b3dd4a020bcfdd7cea3125b8f90edad0 Mon Sep 17 00:00:00 2001 From: talig Date: Thu, 13 Feb 2020 09:02:47 +0200 Subject: Fix PropertyConvertor initialization (use spring) refactor static InterfacesOperationsToscaUtil to be non-static InterfacesOperationsConverter (as it uses PropertyConvertor), move logic from static ToscaExportUtils to ToscaExportHandler (as it uses PropertyConvertor) Change-Id: I917351ca59ee1e792c7b0850d6a8b246b71b4b03 Issue-ID: SDC-2765 Signed-off-by: talig --- .../sdc/be/datatypes/elements/PropertyDataDefinitionTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common-be/src/test/java') 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); } -- cgit 1.2.3-korg