summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-music/src/test
diff options
context:
space:
mode:
authorKishore Reddy, Gujja (kg811t) <kg811t@research.att.com>2018-07-09 13:41:00 -0400
committerKishore Reddy, Gujja (kg811t) <kg811t@research.att.com>2018-07-11 13:20:28 -0400
commita96a3e49cd472aa902c22143358b87562603d47c (patch)
tree7e97578788de44f6704252cf982af09adcc05e8d /ecomp-sdk/epsdk-music/src/test
parent9ac542482e4710e5566d147ca7a7a42500628ba2 (diff)
Adding User Auth and permission aaf services
Issue-ID: PORTAL-334 Change-Id: I2826f2a06f7d818d918ae5f45b500a8da78cec42 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-music/src/test')
-rw-r--r--ecomp-sdk/epsdk-music/src/test/java/org/onap/portalapp/music/service/MusicServiceTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-music/src/test/java/org/onap/portalapp/music/service/MusicServiceTest.java b/ecomp-sdk/epsdk-music/src/test/java/org/onap/portalapp/music/service/MusicServiceTest.java
index b5479371..c8386df0 100644
--- a/ecomp-sdk/epsdk-music/src/test/java/org/onap/portalapp/music/service/MusicServiceTest.java
+++ b/ecomp-sdk/epsdk-music/src/test/java/org/onap/portalapp/music/service/MusicServiceTest.java
@@ -89,8 +89,10 @@ public class MusicServiceTest {
Mockito.when(row.getString(Mockito.anyString())).thenReturn("test");
Mockito.when(resultSet.one()).thenReturn(row);
Mockito.when(MusicCore.atomicPut(Mockito.anyString(), Mockito.anyString(), Mockito.anyString(), Mockito.any(PreparedQueryObject.class), Mockito.any(MusicCore.Condition.class))).thenReturn(returnType);
+ Mockito.when(MusicCore.atomicPutWithDeleteLock(Mockito.anyString(), Mockito.anyString(), Mockito.anyString(), Mockito.any(PreparedQueryObject.class), Mockito.any(MusicCore.Condition.class))).thenReturn(returnType);
Mockito.when(MusicCore.eventualPut(Mockito.any(PreparedQueryObject.class))).thenReturn(returnType);
Mockito.when(MusicCore.atomicGet(Mockito.anyString(), Mockito.anyString(), Mockito.anyString(), Mockito.any(PreparedQueryObject.class))).thenReturn(resultSet);
+ Mockito.when(MusicCore.atomicGetWithDeleteLock(Mockito.anyString(), Mockito.anyString(), Mockito.anyString(), Mockito.any(PreparedQueryObject.class))).thenReturn(resultSet);
Mockito.when(MusicCore.get(Mockito.any(PreparedQueryObject.class))).thenReturn(resultSet);
Mockito.when(session.getAttribute(Mockito.anyString())).thenReturn("test");
ResponseEntity<String> entityResponse = Mockito.mock(ResponseEntity.class);