diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceNegativeTest.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceNegativeTest.java index c8ebdd37d2f..ccaf84652e7 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceNegativeTest.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceNegativeTest.java @@ -42,7 +42,7 @@ public class GroupManagementProviderServiceNegativeTest extends BaseDeviceManage @Override public void init() throws Exception { DataSource datasource = this.getDataSource(this. - readDataSourceConfig("src/test/resources/config/datasource/no-table-data-source-config.xml")); + readDataSourceConfig(getDatasourceLocation() + "-no-table" + DATASOURCE_EXT)); GroupManagementDAOFactory.init(datasource); groupManagementProviderService = new GroupManagementProviderServiceImpl(); }