Disable DB connections for spark plugin testing
This commit is contained in:
parent
fd0defe071
commit
31e7dc57bd
|
@ -23,7 +23,7 @@ export class StartupService implements OnModuleInit {
|
||||||
const testSuite = process.env.TEST_SUITE;
|
const testSuite = process.env.TEST_SUITE;
|
||||||
if (testSuite?.toLowerCase().includes("integration")) return;
|
if (testSuite?.toLowerCase().includes("integration")) return;
|
||||||
|
|
||||||
const dbOptions = {
|
/* const dbOptions = {
|
||||||
host: process.env.DB_HOST,
|
host: process.env.DB_HOST,
|
||||||
port: process.env.DB_PORT,
|
port: process.env.DB_PORT,
|
||||||
user: process.env.DB_USER,
|
user: process.env.DB_USER,
|
||||||
|
@ -45,7 +45,7 @@ export class StartupService implements OnModuleInit {
|
||||||
MemberRepository
|
MemberRepository
|
||||||
]);
|
]);
|
||||||
|
|
||||||
await ledgerConnector.connect(ledgerOptions);
|
await ledgerConnector.connect(ledgerOptions); */
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue