summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-04-03 15:34:31 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-04-03 15:34:34 +0800
commit7a3b4849c477495f5d1276b43f766e210f656085 (patch)
tree6c28f684cb066041822f4d227214959676c2e5d2
parentbf5bf9cb0e1d73bb20a5ea6561246abd13024723 (diff)
improve sonar coverage for uui-server
Change-Id: I5ff786bbcd3617534506ebcedc0149f0b061778e 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.java8
1 files 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 7a783497..2ba3fcc3 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 null;
+ //}
@Mock
public void flush() {
}