dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24539
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12049: Fixed date issue with test
------------------------------------------------------------
revno: 12049
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-09-11 19:44:33 +0200
message:
Fixed date issue with test
modified:
dhis-2/dhis-services/dhis-service-importexport/src/test/java/org/hisp/dhis/importexport/mapping/ObjectMappingGeneratorTest.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-importexport/src/test/java/org/hisp/dhis/importexport/mapping/ObjectMappingGeneratorTest.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/test/java/org/hisp/dhis/importexport/mapping/ObjectMappingGeneratorTest.java 2013-08-23 16:05:01 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/test/java/org/hisp/dhis/importexport/mapping/ObjectMappingGeneratorTest.java 2013-09-11 17:44:33 +0000
@@ -163,8 +163,8 @@
{
PeriodType periodTypeA = periodService.getPeriodTypeByName( MonthlyPeriodType.NAME );
- Period periodA = createPeriod( periodTypeA, getDate( 1, 0, 2000 ), getDate( 31, 0, 2000 ) );
- Period periodB = createPeriod( periodTypeA, getDate( 1, 1, 2000 ), getDate( 28, 1, 2000 ) );
+ Period periodA = createPeriod( periodTypeA, getDate( 2000, 0, 1 ), getDate( 2000, 0, 31 ) );
+ Period periodB = createPeriod( periodTypeA, getDate( 2000, 1, 1 ), getDate( 2000, 1, 28 ) );
periodA.setId( 'A' );
periodB.setId( 'B' );