dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04563
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1528: Added registrationDate to createPatient supportive method, fixed a test error as that property wa...
------------------------------------------------------------
revno: 1528
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Tue 2010-03-02 10:10:46 +0100
message:
Added registrationDate to createPatient supportive method, fixed a test error as that property was set to not-null in the hibernate mapping
modified:
dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.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-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java'
--- dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java 2010-02-22 13:47:05 +0000
+++ dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java 2010-03-02 09:10:46 +0000
@@ -873,6 +873,8 @@
patient.setLastName( "LastName" + uniqueChar );
patient.setGender( Patient.MALE );
patient.setBirthDate( getDate( 1970, 1, 1 ) );
+ patient.setBloodGroup( "A" );
+ patient.setRegistrationDate( new Date() );
return patient;
}