[git actions] Check all branches

This commit is contained in:
Sergey Konovalov
2025-08-31 01:41:29 +03:00
parent 988b6d6d78
commit 81e0f005e2
3 changed files with 7 additions and 32 deletions

View File

@ -66,10 +66,10 @@ const dbTypes = {
number: 'INT',
string: 'VARCHAR(50)'
},
number () {
number() {
return this[cfgDbType].number;
},
string () {
string() {
return this[cfgDbType].string;
}
};

View File

@ -23,7 +23,7 @@ const getStatusCode = response => response.statusCode || response.status;
function createMockContext(overrides = {}) {
const defaultCtx = {
getCfg (key, _) {
getCfg(key, _) {
switch (key) {
case 'services.CoAuthoring.requestDefaults':
return {
@ -65,14 +65,14 @@ function createMockContext(overrides = {}) {
}
},
logger: {
debug () {}
debug() {}
}
};
// Return a mock context with overridden values if any
return {
...defaultCtx,
getCfg (key, _) {
getCfg(key, _) {
// Return the override if it exists
if (overrides[key]) {
return overrides[key];