myrle-krantz closed pull request #6: Updating package names.
URL: https://github.com/apache/fineract-cn-default-setup/pull/6
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/README.md b/README.md
index 2936b1a..797cd82 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
 # Apache Fineract CN default setup
 
-[![Join the chat at 
https://gitter.im/mifos-initiative/mifos.io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mifos-initiative/mifos.io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
-
 This project provides resources which can be used to create a default setup 
for microservices in [Apache Fineract 
CN](https://github.com/search?q=org%3Aapache+fineract) deployment. It is 
dependent on the apis and importers of those microservices.
 
 ## Abstract
diff --git a/accounting/src/test/java/io/mifos/ImportTest.java 
b/accounting/src/test/java/org/apache/fineract/cn/ImportTest.java
similarity index 89%
rename from accounting/src/test/java/io/mifos/ImportTest.java
rename to accounting/src/test/java/org/apache/fineract/cn/ImportTest.java
index f6a1a06..fc86aa1 100644
--- a/accounting/src/test/java/io/mifos/ImportTest.java
+++ b/accounting/src/test/java/org/apache/fineract/cn/ImportTest.java
@@ -16,13 +16,22 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package io.mifos;
+package org.apache.fineract.cn;
 
-import io.mifos.accounting.api.v1.client.LedgerManager;
-import io.mifos.accounting.api.v1.domain.Account;
-import io.mifos.accounting.api.v1.domain.Ledger;
-import io.mifos.accounting.importer.AccountImporter;
-import io.mifos.accounting.importer.LedgerImporter;
+import java.io.IOException;
+import java.net.URL;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+import javax.validation.ConstraintViolation;
+import javax.validation.Validation;
+import javax.validation.Validator;
+import javax.validation.ValidatorFactory;
+import org.apache.fineract.cn.accounting.api.v1.client.LedgerManager;
+import org.apache.fineract.cn.accounting.api.v1.domain.Account;
+import org.apache.fineract.cn.accounting.api.v1.domain.Ledger;
+import org.apache.fineract.cn.accounting.importer.AccountImporter;
+import org.apache.fineract.cn.accounting.importer.LedgerImporter;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
@@ -35,16 +44,6 @@
 import org.springframework.boot.test.mock.mockito.MockBean;
 import org.springframework.test.context.junit4.SpringRunner;
 
-import javax.validation.ConstraintViolation;
-import javax.validation.Validation;
-import javax.validation.Validator;
-import javax.validation.ValidatorFactory;
-import java.io.IOException;
-import java.net.URL;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-
 /**
  * @author Myrle Krantz
  */
@@ -87,7 +86,7 @@ public void prepare() {
     }
 
     @Override
-    public Void answer(InvocationOnMock invocation) throws Throwable {
+    public Void answer(InvocationOnMock invocation) {
       final Ledger ledger = invocation.getArgumentAt(indexOfLedger, 
Ledger.class);
 
       final ValidatorFactory factory = 
Validation.buildDefaultValidatorFactory();
@@ -103,7 +102,7 @@ public Void answer(InvocationOnMock invocation) throws 
Throwable {
 
   class ReturnLedgers implements Answer {
     @Override
-    public Ledger answer(InvocationOnMock invocation) throws Throwable {
+    public Ledger answer(InvocationOnMock invocation) {
       final String ledgerIdentifier = invocation.getArgumentAt(0, 
String.class);
       return createdLedgers.get(ledgerIdentifier);
     }
@@ -119,7 +118,7 @@ public Ledger answer(InvocationOnMock invocation) throws 
Throwable {
     }
 
     @Override
-    public Void answer(InvocationOnMock invocation) throws Throwable {
+    public Void answer(InvocationOnMock invocation) {
       final T thingy = invocation.getArgumentAt(indexOfArgument, thingyClass);
 
       final ValidatorFactory factory = 
Validation.buildDefaultValidatorFactory();


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to