Refactor construction of OverviewsApi

This commit is contained in:
Javier Goizueta
2016-01-26 11:49:41 +01:00
parent ef9e9f8c78
commit 3b6abb5c9f
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ describe('OverviewsApi', function() {
var pgConnection = new PgConnection(metadataBackend);
var pgQueryRunner = new PgQueryRunner(pgConnection);
queryTablesApi = new QueryTablesApi(pgQueryRunner);
overviewsApi = new OverviewsApi(queryTablesApi);
overviewsApi = new OverviewsApi(pgQueryRunner);
});
it('should return an empty relation for tables that have no overviews', function(done) {