From 4dcf47b81ff9e859c187c62b498c4dcb18563772 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Tue, 29 Oct 2024 15:22:13 +0100 Subject: [PATCH] test fix --- integration-tests/__tests__/alter-table.spec.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration-tests/__tests__/alter-table.spec.js b/integration-tests/__tests__/alter-table.spec.js index 52b8957b3..55e544fc0 100644 --- a/integration-tests/__tests__/alter-table.spec.js +++ b/integration-tests/__tests__/alter-table.spec.js @@ -12,7 +12,10 @@ function pickImportantTableInfo(engine, table) { if (!engine.skipAutoIncrement) props.push('autoIncrement'); return { pureName: table.pureName, - columns: table.columns.filter(x => x.columnName != 'rowid').map(fp.pick(props)), + columns: table.columns + .filter(x => x.columnName != 'rowid') + .map(fp.pick(props)) + .map(props => _.omitBy(props, x => x == null)), }; }