diff options
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java | 3 |
1 files changed, 2 insertions, 1 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 3de94cd0..426bafdb 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 @@ -67,7 +67,7 @@ public class AlarmsHeaderServiceImplTest { } @Mock public Serializable save(Object object) { - return (Serializable) new Object(); + return (Serializable) serialVersionUID; } @Mock public void flush() { @@ -96,6 +96,7 @@ public class AlarmsHeaderServiceImplTest { public void after() throws Exception { } + private static final long serialVersionUID = 1L; private Session session; private Transaction transaction; private Query query; |