We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce4563 commit 1c611d0Copy full SHA for 1c611d0
sandbox/oauth-example/src/__tests__/acceptance/test-helper.ts
@@ -1,9 +1,9 @@
1
-import {AuthApplication} from '../..';
2
import {
+ Client,
3
createRestAppClient,
4
givenHttpServerConfig,
5
- Client,
6
} from '@loopback/testlab';
+import {AuthApplication} from '../..';
7
8
export async function setupApplication(): Promise<AppWithClient> {
9
const restConfig = givenHttpServerConfig({
@@ -19,8 +19,8 @@ export async function setupApplication(): Promise<AppWithClient> {
19
rest: restConfig,
20
});
21
22
- app.bind('datasources.config.db').to({
23
- name: 'db',
+ app.bind('datasources.config.auth').to({
+ name: 'auth',
24
connector: 'memory',
25
26
0 commit comments