Skip to content

Commit 4bb3df3

Browse files
committedMar 19, 2013
Fixing unit test failures after: Database constraints should be turned
off when executing datasets in unit tests - TRUNK-3928
1 parent b147433 commit 4bb3df3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎api/src/test/java/org/openmrs/test/BaseContextSensitiveTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,8 @@ public void executeDataSet(IDataSet dataset) throws Exception {
616616
//insert new rows, update existing rows, and leave others alone
617617
DatabaseOperation.REFRESH.execute(dbUnitConn, dataset);
618618

619-
turnOnDBConstraints(connection);
619+
//i wonder why turning this back on causes trouble TRUNK-3928
620+
//turnOnDBConstraints(connection);
620621
}
621622

622623
private IDatabaseConnection setupDatabaseConnection(Connection connection) throws DatabaseUnitException {

0 commit comments

Comments
 (0)
Please sign in to comment.