From 2f2602346dd0f150e89630bdeaf8edaf244ce423 Mon Sep 17 00:00:00 2001 From: zhangab Date: Tue, 3 Apr 2018 16:05:38 +0800 Subject: improve sonar coverage for uui-server Change-Id: Ie8ad16590754307222bd13395df991c019e31390 Issue-ID: USECASEUI-103 Signed-off-by: zhangab --- .../server/service/impl/AlarmsHeaderServiceImplTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java b/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java index 2ba3fcc3..10f76bfd 100644 --- a/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java +++ b/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java @@ -64,10 +64,10 @@ public class AlarmsHeaderServiceImplTest { public Transaction beginTransaction() { return transaction; } - //@Mock - //public Object save(Object object) { - // return null; - //} + @Mock + public Object save(Object object) { + return new Object(); + } @Mock public void flush() { } -- cgit 1.2.3-korg