diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-03-27 15:51:30 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-03-27 15:51:35 +0800 |
commit | 1263b3ed40c97fd0fb6af16086b49a5dd7fc3c4b (patch) | |
tree | 67f34cd7877b0f4c18b6adedcc0b7b3f5208b760 | |
parent | 100aa2dc196dc3a7a0152d103276b21a6f3c2ae3 (diff) |
improve sonar coverage for uui-server
Change-Id: Ib81e369a2c7c327fb6f839683e0803144de3729a
Issue-ID: USECASEUI-103
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java | 4 |
1 files changed, 4 insertions, 0 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 787445c3..9016200f 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 @@ -31,6 +31,7 @@ import org.springframework.test.context.web.WebAppConfiguration; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Date; +import org.hibernate.SessionFactory; /** * AlarmsHeaderServiceImpl Tester. @@ -41,6 +42,9 @@ import java.util.Date; */ public class AlarmsHeaderServiceImplTest { + @Autowired + private SessionFactory sessionFactory; + @Before public void before() throws Exception { } |