fix: preserve settings during cleanup
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m17s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 31s

This commit is contained in:
2026-09-04 22:16:43 +01:00
parent 48c007f7b2
commit 7fec2154e0
3 changed files with 15 additions and 2 deletions
+6
View File
@@ -66,6 +66,12 @@ test('settings route renders the overview', async () => {
});
assert.ok(queries.some(function (entry) { return entry.sql && /DELETE FROM o_app_settings/.test(entry.sql); }));
assert.ok(queries.some(function (entry) { return entry.sql && /INSERT INTO o_app_settings/.test(entry.sql); }));
queries.filter(function (entry) {
return entry.sql && /DELETE FROM o_app_settings/.test(entry.sql);
}).forEach(function (entry) {
assert.equal((entry.sql.match(/\?/g) || []).length, entry.params.length);
assert.ok(entry.params.includes('email.invitation_body'));
});
assert.match(saveResponse.redirectedTo, /^\/settings\/system\?message=/);
let tooManyError = null;