fix: tests after merge

This commit is contained in:
Nikita Nek Dudnik
2020-05-25 18:37:47 +02:00
parent ca63580518
commit dfcad87517
2 changed files with 3 additions and 3 deletions
@@ -20,6 +20,7 @@ import knex from 'knex';
import path from 'path';
import { Database } from '../database';
import { getVoidLogger } from '../../../../packages/backend-common/src/logging/voidLogger';
describe('DatabaseLocationsCatalog', () => {
const database = knex({
@@ -38,7 +39,7 @@ describe('DatabaseLocationsCatalog', () => {
directory: path.resolve(__dirname, '../database/migrations'),
loadExtensions: ['.ts'],
});
db = new Database(database);
db = new Database(database, getVoidLogger());
catalog = new DatabaseLocationsCatalog(db);
});
it('resolves to location with id', async () => {
@@ -14,8 +14,7 @@
* limitations under the License.
*/
import { LocationSource } from '../sources/types';
import { LocationReader, ReaderOutput } from '../types';
import { LocationSource, LocationReader, ReaderOutput } from '../types';
export class LocationReaders implements LocationReader {
static create(): LocationReader {