Skip to content

Commit

Permalink
NRPT-766 Migrate Metabase to Postgresql (#841)
Browse files Browse the repository at this point in the history
* Migrate Metabase to Postgresql

* Fix sonar complaints and tests from other commits
  • Loading branch information
BcGovNeal authored May 3, 2021
1 parent 8da5fee commit 59c4e14
Show file tree
Hide file tree
Showing 9 changed files with 795 additions and 627 deletions.
2 changes: 1 addition & 1 deletion api/src/importers/ams/base-record-utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('BaseRecordUtils', () => {
describe('constructor', () => {
it('throws an error if no recordType provided', () => {
expect(() => {
new BaseRecordUtils(null);
return new BaseRecordUtils(null);
}).toThrow('BaseRecordUtils - required recordType must be non-null.');
});
});
Expand Down
2 changes: 1 addition & 1 deletion api/src/integrations/bcogc/datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const axios = require('axios');
const cheerio = require('cheerio');
const defaultLog = require('../../utils/logger')('bcogc-datasource');
const integrationUtils = require('../integration-utils');
const { getCsvRowsFromString } = require('../../utils/helpers');
const { getCsvRowsFromString } = require('../../utils/csv-helpers');

const RECORD_TYPE = require('../../utils/constants/record-type-enum');
const BCOGC_UTILS_TYPES = require('./bcogc-utils-types-enum');
Expand Down
Loading

0 comments on commit 59c4e14

Please sign in to comment.