From 03352259be2900d720f3887731cf8c94b895e5e8 Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Thu, 18 Apr 2019 20:22:01 +0530 Subject: [PATCH 1/2] Implement updateEnrollment in DeviceManagementProviderServiceMock --- .../android/mocks/DeviceManagementProviderServiceMock.java | 5 +++++ .../android/mocks/DeviceManagementProviderServiceMock.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index cb13a0734a..38f2a774a7 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -583,4 +583,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv throws DeviceManagementException { return false; } + + @Override + public boolean updateEnrollment(String owner, List deviceIdentifiers) { + return false; + } } diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index cb13a0734a..38f2a774a7 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -583,4 +583,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv throws DeviceManagementException { return false; } + + @Override + public boolean updateEnrollment(String owner, List deviceIdentifiers) { + return false; + } } From a19eea2bc54dac838ca7b8d1a176f4741bff3dee Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Thu, 18 Apr 2019 20:22:52 +0530 Subject: [PATCH 2/2] Bump device-mgt-core and app-mgt version --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 65a20c6fbb..34c1542dfc 100644 --- a/pom.xml +++ b/pom.xml @@ -1230,11 +1230,11 @@ 1.1.1 - 3.2.2 + 3.2.3 [3.1.0, 4.0.0) - 1.5.3 + 1.5.5 4.2.3-SNAPSHOT