← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16941: Made CompleteDataSetRegistrationServiceTest extend DhisSpringTest

 

------------------------------------------------------------
revno: 16941
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-10-03 08:23:56 +0200
message:
  Made CompleteDataSetRegistrationServiceTest extend DhisSpringTest
modified:
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataset/CompleteDataSetRegistrationServiceTest.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/dataset/CompleteDataSetRegistrationServiceTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataset/CompleteDataSetRegistrationServiceTest.java	2014-10-01 12:31:39 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataset/CompleteDataSetRegistrationServiceTest.java	2014-10-03 06:23:56 +0000
@@ -37,7 +37,7 @@
 import java.util.Collection;
 import java.util.Date;
 
-import org.hisp.dhis.DhisTest;
+import org.hisp.dhis.DhisSpringTest;
 import org.hisp.dhis.dataelement.DataElementCategoryOptionCombo;
 import org.hisp.dhis.dataelement.DataElementCategoryService;
 import org.hisp.dhis.organisationunit.OrganisationUnit;
@@ -51,7 +51,7 @@
  * @author Lars Helge Overland
  */
 public class CompleteDataSetRegistrationServiceTest
-    extends DhisTest
+    extends DhisSpringTest
 {
     private CompleteDataSetRegistration registrationA;
     private CompleteDataSetRegistration registrationB;
@@ -127,12 +127,6 @@
 
         onTimeA = getDate( 2000, 1, 10 );
     }
-    
-    @Override
-    public boolean emptyDatabaseAfterTest()
-    {
-        return true;
-    }
 
     // -------------------------------------------------------------------------
     // Tests