fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From my...@apache.org
Subject [fineract-cn-provisioner] 23/50: This was missed when the IdentityManager name was changed.
Date Mon, 22 Jan 2018 15:16:21 GMT
This is an automated email from the ASF dual-hosted git repository.

myrle pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-provisioner.git

commit 395224e2c9ac123bae9993fc344941874f4ce74e
Author: myrle-krantz <mkrantz@mifos.org>
AuthorDate: Tue May 2 14:05:00 2017 +0200

    This was missed when the IdentityManager name was changed.
---
 .../service/applications/IdentityServiceInitializerTest.java      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/service/src/test/java/io/mifos/provisioner/internal/service/applications/IdentityServiceInitializerTest.java
b/service/src/test/java/io/mifos/provisioner/internal/service/applications/IdentityServiceInitializerTest.java
index 4c849ab..c32884c 100644
--- a/service/src/test/java/io/mifos/provisioner/internal/service/applications/IdentityServiceInitializerTest.java
+++ b/service/src/test/java/io/mifos/provisioner/internal/service/applications/IdentityServiceInitializerTest.java
@@ -17,7 +17,7 @@ package io.mifos.provisioner.internal.service.applications;
 
 import io.mifos.anubis.api.v1.client.Anubis;
 import io.mifos.anubis.api.v1.domain.PermittableEndpoint;
-import io.mifos.identity.api.v1.client.IdentityService;
+import io.mifos.identity.api.v1.client.IdentityManager;
 import io.mifos.identity.api.v1.client.PermittableGroupAlreadyExistsException;
 import io.mifos.identity.api.v1.domain.PermittableGroup;
 import org.junit.Assert;
@@ -90,7 +90,7 @@ public class IdentityServiceInitializerTest {
   public void createOrFindPermittableGroupThatAlreadyExists() throws Exception {
     final Logger loggerMock = Mockito.mock(Logger.class);
 
-    final IdentityService identityServiceMock = Mockito.mock(IdentityService.class);
+    final IdentityManager identityServiceMock = Mockito.mock(IdentityManager.class);
     doThrow(PermittableGroupAlreadyExistsException.class).when(identityServiceMock).createPermittableGroup(group1);
     doReturn(reorderedGroup1).when(identityServiceMock).getPermittableGroup(group1.getIdentifier());
 
@@ -101,7 +101,7 @@ public class IdentityServiceInitializerTest {
   public void createOrFindPermittableGroupThatAlreadyExistsDifferently() throws Exception
{
     final Logger loggerMock = Mockito.mock(Logger.class);
 
-    final IdentityService identityServiceMock = Mockito.mock(IdentityService.class);
+    final IdentityManager identityServiceMock = Mockito.mock(IdentityManager.class);
     doThrow(PermittableGroupAlreadyExistsException.class).when(identityServiceMock).createPermittableGroup(group1);
     doReturn(changedGroup1).when(identityServiceMock).getPermittableGroup(group1.getIdentifier());
 
@@ -114,7 +114,7 @@ public class IdentityServiceInitializerTest {
   public void createOrFindPermittableGroupWhenIsisCallFails() throws Exception {
     final Logger loggerMock = Mockito.mock(Logger.class);
 
-    final IdentityService identityServiceMock = Mockito.mock(IdentityService.class);
+    final IdentityManager identityServiceMock = Mockito.mock(IdentityManager.class);
     doThrow(IllegalStateException.class).when(identityServiceMock).createPermittableGroup(group1);
     doReturn(changedGroup1).when(identityServiceMock).getPermittableGroup(group1.getIdentifier());
 

-- 
To stop receiving notification emails like this one, please contact
myrle@apache.org.

Mime
View raw message