From: erik Date: Sun, 4 Apr 2010 11:43:49 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2@603~40 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=9d56174a1fd63ae313fccc13178d4c318462b649;p=utils --- diff --git a/trunk/support/test/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java b/trunk/support/test/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java index e57f01a9..7dad5d92 100644 --- a/trunk/support/test/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java +++ b/trunk/support/test/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java @@ -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); }