From bdc40c2c02a2a21efe5127419989b62ab6ef97d4 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 31 Oct 2024 08:45:12 +0100 Subject: [PATCH] test fix --- integration-tests/__tests__/deploy-database.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {