dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04324
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1418: Minor fix.
------------------------------------------------------------
revno: 1418
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-02-11 15:19:16 +0100
message:
Minor fix.
modified:
dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryStoreTest.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-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryStoreTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryStoreTest.java 2010-02-11 14:17:13 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryStoreTest.java 2010-02-11 14:19:16 +0000
@@ -105,9 +105,9 @@
assertEquals( categoryB, categoryStore.get( idB ) );
assertEquals( categoryC, categoryStore.get( idC ) );
- assertEquals( categoryA.getConceptName(), categoryStore.get( idA ).getConceptName() );
- assertEquals( categoryB.getConceptName(), categoryStore.get( idB ).getConceptName() );
- assertEquals( categoryC.getConceptName(), categoryStore.get( idC ).getConceptName() );
+ assertEquals( "ConceptA", categoryStore.get( idA ).getConceptName() );
+ assertEquals( "ConceptB", categoryStore.get( idB ).getConceptName() );
+ assertEquals( "ConceptC", categoryStore.get( idC ).getConceptName() );
assertEquals( categoryOptions, categoryStore.get( idA ).getCategoryOptions() );
assertEquals( categoryOptions, categoryStore.get( idB ).getCategoryOptions() );