dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12146
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3663: Fixed test error
------------------------------------------------------------
revno: 3663
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-05-19 11:24:01 +0200
message:
Fixed test error
modified:
dhis-2/dhis-services/dhis-service-importexport/src/test/java/org/hisp/dhis/importexport/importobject/ImportObjectServiceTest.java
dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.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/importobject/ImportObjectServiceTest.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/test/java/org/hisp/dhis/importexport/importobject/ImportObjectServiceTest.java 2010-04-12 21:23:33 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/test/java/org/hisp/dhis/importexport/importobject/ImportObjectServiceTest.java 2011-05-19 09:24:01 +0000
@@ -35,7 +35,7 @@
import java.util.Collection;
-import org.hisp.dhis.DhisSpringTest;
+import org.hisp.dhis.DhisTest;
import org.hisp.dhis.dataelement.DataElement;
import org.hisp.dhis.dataelement.DataElementCategoryCombo;
import org.hisp.dhis.dataelement.DataElementCategoryService;
@@ -59,7 +59,7 @@
* @version $Id$
*/
public class ImportObjectServiceTest
- extends DhisSpringTest
+ extends DhisTest
{
private ImportObjectService importObjectService;
@@ -184,6 +184,7 @@
idI = importObjectService.addImportObject( ImportObjectStatus.MATCH, GroupMemberType.DATAELEMENTGROUP, associationC );
}
+ @Override
public boolean emptyDatabaseAfterTest()
{
return true;
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.java'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.java 2011-04-22 17:02:27 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.java 2011-05-19 09:24:01 +0000
@@ -75,6 +75,7 @@
public void emptyDatabase()
{
emptyTable( "translation" );
+ emptyTable( "importobject" );
emptyTable( "importdatavalue" );
emptyTable( "datavalue_audit" );