From 18529f0ea6cdda4a2bceae869547c9ef6f3ad565 Mon Sep 17 00:00:00 2001 From: Vishwas Babu A J Date: Sat, 11 Apr 2015 01:35:07 -0700 Subject: [PATCH] fix failing test cases --- .../org/mifosplatform/organisation/staff/domain/Staff.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java b/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java index 2f7ce32ac..416eb51fe 100644 --- a/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/organisation/staff/domain/Staff.java @@ -194,12 +194,6 @@ public class Staff extends AbstractPersistable { this.joiningDate = newValue.toDate(); } - final String imageIdParamName = "imageId"; - if (command.isChangeInLongParameterNamed(imageIdParamName, this.image.getId())) { - final Long newValue = command.longValueOfParameterNamed(officeIdParamName); - actualChanges.put(officeIdParamName, newValue); - } - return actualChanges; }