Skip to content

Commit

Permalink
fix: service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GPaoloni committed Jan 14, 2025
1 parent 83166d0 commit e0981a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hrm-domain/hrm-service/service-tests/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export const defaultConfig: {
},
authSecretsLookup: {
authTokenLookup: () => Promise.resolve('picernic basket'),
staticKeyLookup: () => Promise.resolve('picernic basket'),
staticKeyLookup: keySuffix =>
Promise.resolve(process.env[`STATIC_KEY_${keySuffix}`] || ''),
},
enableProcessContactJobs: false,
};
Expand Down
3 changes: 2 additions & 1 deletion resources-domain/resources-service/tests/service/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export const defaultConfig: {
} = {
authSecretsLookup: {
authTokenLookup: () => Promise.resolve('picernic basket'),
staticKeyLookup: () => Promise.resolve('picernic basket'),
staticKeyLookup: keySuffix =>
Promise.resolve(process.env[`STATIC_KEY_${keySuffix}`] || ''),
},
};

Expand Down

0 comments on commit e0981a5

Please sign in to comment.