diff options
-rw-r--r-- | sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java b/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java index ad5821511b8..045a6474d3d 100644 --- a/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java +++ b/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java @@ -99,7 +99,7 @@ public abstract class DaoTestCase { DatabaseMetaData meta = connection.getMetaData(); Statement statement = connection.createStatement(); - ResultSet res = meta.getTables(null, null, null, new String[]{"TABLE"}); + ResultSet res = meta.getTables(null, database.getSchema(), null, new String[]{"TABLE"}); List<String> tables = Lists.newArrayList(); while (res.next()) { String tableName = res.getString("TABLE_NAME"); |