diff --git a/integration-tests/__tests__/deploy-database.spec.js b/integration-tests/__tests__/deploy-database.spec.js index bb6c595f..ac157d78 100644 --- a/integration-tests/__tests__/deploy-database.spec.js +++ b/integration-tests/__tests__/deploy-database.spec.js @@ -8,7 +8,7 @@ const { databaseInfoFromYamlModel } = require('dbgate-tools'); const generateDeploySql = require('dbgate-api/src/shell/generateDeploySql'); const connectUtility = require('dbgate-api/src/utility/connectUtility'); -function checkStructure(structure, model, { checkRenameDeletedObjects = false, disallowExtraObjects = false }) { +function checkStructure(structure, model, { checkRenameDeletedObjects = false, disallowExtraObjects = false } = {}) { const expected = databaseInfoFromYamlModel(model); for (const expectedTable of expected.tables) {