(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 4 Apr 2010 11:43:49 +0000 (11:43 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 4 Apr 2010 11:43:49 +0000 (11:43 +0000)
support/test/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java

index e57f01a9acd77e4b2805ffc296329524e8cd3544..7dad5d92f6ce86a75a08dfd6c7ebb5371d891934 100644 (file)
@@ -34,7 +34,7 @@ public class DatabaseUtilsTest {
 
         dbutils = new DatabaseUtils(dataSource, persistenceUnit.getTables());
         dbutils.dropTables();
-        dbutils.dropTables(persistenceUnit.getJpaTables());
+        dbutils.dropTables(JpaCustomizerBuilder.getCustomizer().getJpaTables());
 
         builder = new JpaBuilder(dataSource, persistenceUnit);
         builder.start();
@@ -81,7 +81,7 @@ public class DatabaseUtilsTest {
 
         // Now drop the database
         dbutils.dropTables();
-        dbutils.dropTables(persistenceUnit.getJpaTables());
+        dbutils.dropTables(JpaCustomizerBuilder.getCustomizer().getJpaTables());
         tables = dbutils.getTableNames();
         assertEquals(0, tables.length);
     }