Skip to content

Commit

Permalink
ci: tenant test logging
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Apr 1, 2024
1 parent 598f58f commit 10a0e0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
]
],
"env": {
"ADAPTER": "Knex-Postgresql"
}
},
{
"type": "node",
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/knex.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class KnexAdapter extends BaseAdapter {
);
}

this.checkClientLibVersion("knex", "^0.95.4 || ^1.0.1 || ^2.0.0");
this.checkClientLibVersion("knex", "^0.95.4 || ^1.0.1 || ^2.0.0 || ^3.0.0");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/integration/tenants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ module.exports = (getAdapter, adapterType) => {

if (adapterType == "Knex" && getAdapter.adapterName != "Knex-SQLite") {
describe("Test schema-level tenancy", () => {
const broker = new ServiceBroker({ logger: false });
const broker = new ServiceBroker({ logger: true });
const svc = broker.createService({
mixins: [baseServiceSchema],
methods: {
Expand Down

0 comments on commit 10a0e0e

Please sign in to comment.