dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36867
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18849: Add setOrgUnit to RegistrationSingleEventServiceTest
------------------------------------------------------------
revno: 18849
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-04-09 18:02:21 +0700
message:
Add setOrgUnit to RegistrationSingleEventServiceTest
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/events/RegistrationSingleEventServiceTest.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-dxf2/src/test/java/org/hisp/dhis/dxf2/events/RegistrationSingleEventServiceTest.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/events/RegistrationSingleEventServiceTest.java 2015-03-12 11:03:32 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/events/RegistrationSingleEventServiceTest.java 2015-04-09 11:02:21 +0000
@@ -239,6 +239,7 @@
private Enrollment createEnrollment( String program, String person )
{
Enrollment enrollment = new Enrollment();
+ enrollment.setOrgUnit( organisationUnitA.getUid() );
enrollment.setProgram( program );
enrollment.setTrackedEntityInstance( person );