dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33485
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17094: Made DataValueServiceTest a DhisSpringTest
------------------------------------------------------------
revno: 17094
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-10-13 20:25:07 +0200
message:
Made DataValueServiceTest a DhisSpringTest
modified:
dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/datavalue/DataValueServiceTest.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/datavalue/DataValueServiceTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/datavalue/DataValueServiceTest.java 2014-10-07 13:46:29 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/datavalue/DataValueServiceTest.java 2014-10-13 18:25:07 +0000
@@ -36,7 +36,7 @@
import java.util.Collection;
import java.util.HashSet;
-import org.hisp.dhis.DhisTest;
+import org.hisp.dhis.DhisSpringTest;
import org.hisp.dhis.dataelement.DataElement;
import org.hisp.dhis.dataelement.DataElementCategoryOptionCombo;
import org.hisp.dhis.dataelement.DataElementCategoryService;
@@ -53,7 +53,7 @@
* @version $Id: DataValueServiceTest.java 5715 2008-09-17 14:05:28Z larshelg $
*/
public class DataValueServiceTest
- extends DhisTest
+ extends DhisSpringTest
{
@Autowired
private DataElementCategoryService categoryService;
@@ -140,12 +140,6 @@
optionCombo = categoryService.getDefaultDataElementCategoryOptionCombo();
}
- @Override
- public boolean emptyDatabaseAfterTest()
- {
- return true;
- }
-
// -------------------------------------------------------------------------
// Basic DataValue
// -------------------------------------------------------------------------