Repository: incubator-fineract Updated Branches: refs/heads/develop 7b0fcc567 -> 7a734ebd5
Fixing integration tests for staff creation with joiningDate as mandatory Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/7a734ebd Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/7a734ebd Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/7a734ebd Branch: refs/heads/develop Commit: 7a734ebd591e9eb05985fae203135311ea6b6c0b Parents: 7b0fcc5 Author: Nazeer Hussain Shaik <nazeer.sh...@confluxtechnologies.com> Authored: Tue Jan 3 20:10:07 2017 +0530 Committer: Nazeer Hussain Shaik <nazeer.sh...@confluxtechnologies.com> Committed: Tue Jan 3 20:10:07 2017 +0530 ---------------------------------------------------------------------- .../integrationtests/common/organisation/StaffHelper.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/7a734ebd/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/organisation/StaffHelper.java ---------------------------------------------------------------------- diff --git a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/organisation/StaffHelper.java b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/organisation/StaffHelper.java index e56f42b..7bf687e 100755 --- a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/organisation/StaffHelper.java +++ b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/organisation/StaffHelper.java @@ -97,6 +97,9 @@ public class StaffHelper { map.put("firstname", Utils.randomNameGenerator("michael_", 5)); map.put("lastname", Utils.randomNameGenerator("Doe_", 4)); map.put("isLoanOfficer", true); + map.put("locale", "en"); + map.put("dateFormat", "dd MMMM yyyy"); + map.put("joiningDate", "20 September 2011") ; System.out.println("map : " + map); return new Gson().toJson(map); }