diff options
author | 2018-06-27 17:53:50 +0000 | |
---|---|---|
committer | 2018-06-27 17:53:50 +0000 | |
commit | 9ac542482e4710e5566d147ca7a7a42500628ba2 (patch) | |
tree | 219419d7709bb8c54da505f3f64c4068ba57caa1 /ecomp-sdk/epsdk-core/src/test/java/org/onap | |
parent | 41660425f19da5aaa57f1ce2b6fe56fe6d741b3b (diff) | |
parent | 3772c40e89085db751c2a4823084b0b1810b1b31 (diff) |
Merge "API Versioning for ECOMP Components in SDK"
Diffstat (limited to 'ecomp-sdk/epsdk-core/src/test/java/org/onap')
-rw-r--r-- | ecomp-sdk/epsdk-core/src/test/java/org/onap/portalsdk/core/service/UserServiceCentalizedImplTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-core/src/test/java/org/onap/portalsdk/core/service/UserServiceCentalizedImplTest.java b/ecomp-sdk/epsdk-core/src/test/java/org/onap/portalsdk/core/service/UserServiceCentalizedImplTest.java index 6feb5fe6..92adc193 100644 --- a/ecomp-sdk/epsdk-core/src/test/java/org/onap/portalsdk/core/service/UserServiceCentalizedImplTest.java +++ b/ecomp-sdk/epsdk-core/src/test/java/org/onap/portalsdk/core/service/UserServiceCentalizedImplTest.java @@ -75,7 +75,7 @@ public class UserServiceCentalizedImplTest { params.put("user_id", new Long(id)); Mockito.when(dataAccessService.executeNamedQuery("getUserByProfileId", params, null)).thenReturn(orgUsreIds); String responseString = " { \"id\": 2, \"userApps\":[{\"app\":{\"id\":1},\"role\":{\"active\":true, \"roleFunctions\":[{\"id\":1}] } } ] }"; - Mockito.when(restApiRequestBuilder.getViaREST("/v1/user/" + orgUserId, true, id)).thenReturn(responseString); + Mockito.when(restApiRequestBuilder.getViaREST("/v3/user/" + orgUserId, true, id)).thenReturn(responseString); User user = userServiceCentalizedImpl.getUser(id); Assert.assertNotNull(user); |