dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35441
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18146: minor
------------------------------------------------------------
revno: 18146
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-01-29 23:06:36 +0100
message:
minor
modified:
dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/program/ProgramDataEntryServiceTest.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/program/ProgramDataEntryServiceTest.java'
--- dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/program/ProgramDataEntryServiceTest.java 2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/program/ProgramDataEntryServiceTest.java 2015-01-29 22:06:36 +0000
@@ -126,7 +126,7 @@
{
String expected = "<input id=\"StageA-DeA-val\" style=\"width:4em;text-align:center\" value=\"\" title=\"[ DeA - DataElementA - int ]\" "
+ " name=\"entryfield\" tabIndex=\"1\" data=\"{compulsory:false, deName:\'DataElementA\', deType:\'int\'}\" options=\'false\' "
- + "maxlength=255 onchange=\"saveVal( \'DeA\' )\" onkeypress=\"return keyPress(event, this)\" />";
+ + "maxlength=255 onchange=\"saveVal( \'DeA\', this.value )\" onkeypress=\"return keyPress(event, this)\" />";
String actual = programDataEntryService.prepareDataEntryFormForAdd( htmlCode, mockI18n, stageA );
assertEquals( expected, actual );
}