Fix catalog-be unit test failure 45/104745/1
authorSatoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Wed, 26 Feb 2020 06:39:38 +0000 (15:39 +0900)
committerSatoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Tue, 31 Mar 2020 11:20:55 +0000 (20:20 +0900)
Fixed catalog-be test failure due to missing imports

Change-Id: I91f281302a33b5b8f640100a3f1b77908ae44e7c
Issue-ID: SDC-2659
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/InputsBusinessLogicTest.java

index 337ea77..4b021c3 100644 (file)
@@ -790,7 +790,7 @@ public class InputsBusinessLogicTest {
 
         Either<List<InputDefinition>, ResponseFormat> result =
             testInstance.updateInputsValue(service.getComponentType(), COMPONENT_ID, newInputDefs, USER_ID, true, false);
-        assertTrue(result.isLeft());
+        assertThat(result.isLeft()).isTrue();
         // check if values are updated
         assertEquals(service.getInputs().get(0).getDefaultValue(), NEW_VALUE);
         assertEquals(service.getInputs().get(0).isRequired(), Boolean.TRUE);