← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14988: minor fix

 

------------------------------------------------------------
revno: 14988
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-04-25 17:40:29 +0545
message:
  minor fix
modified:
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryServiceTest.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/DataElementCategoryServiceTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryServiceTest.java	2014-04-25 10:44:39 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementCategoryServiceTest.java	2014-04-25 11:55:29 +0000
@@ -84,9 +84,9 @@
     @Test
     public void testAddGet()
     {
-        categoryA = createDataElementCategory( 'A' );
-        categoryB = createDataElementCategory( 'B' );
-        categoryC = createDataElementCategory( 'C' );
+        categoryA = createDataElementCategory( 'A', categoryOptionA, categoryOptionB, categoryOptionC );
+        categoryB = createDataElementCategory( 'B', categoryOptionA, categoryOptionB, categoryOptionC );
+        categoryC = createDataElementCategory( 'C', categoryOptionA, categoryOptionB, categoryOptionC );
 
         int idA = categoryService.addDataElementCategory( categoryA );
         int idB = categoryService.addDataElementCategory( categoryB );