Skip to content

Commit 1c611d0

Browse files
committed
refactor(sandbox): resolve test cases
resolve test cases gh-0
1 parent 4ce4563 commit 1c611d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sandbox/oauth-example/src/__tests__/acceptance/test-helper.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import {AuthApplication} from '../..';
21
import {
2+
Client,
33
createRestAppClient,
44
givenHttpServerConfig,
5-
Client,
65
} from '@loopback/testlab';
6+
import {AuthApplication} from '../..';
77

88
export async function setupApplication(): Promise<AppWithClient> {
99
const restConfig = givenHttpServerConfig({
@@ -19,8 +19,8 @@ export async function setupApplication(): Promise<AppWithClient> {
1919
rest: restConfig,
2020
});
2121

22-
app.bind('datasources.config.db').to({
23-
name: 'db',
22+
app.bind('datasources.config.auth').to({
23+
name: 'auth',
2424
connector: 'memory',
2525
});
2626

0 commit comments

Comments
 (0)