Skip to content

Commit

Permalink
ci: fix missing password from connection object
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Apr 1, 2024
1 parent 10a0e0e commit 9b767db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/tenants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,9 @@ module.exports = (getAdapter, adapterType) => {
mixins: [baseServiceSchema],
methods: {
getAdapterByContext(ctx, adapterDef) {
// Somehow the password disappeared from the "adapterDef"
adapterDef = getAdapter();

const tenantId = ctx.meta.tenantId;
if (!tenantId) throw new Error("Missing tenantId!");

Expand Down

0 comments on commit 9b767db

Please sign in to comment.