Skip to content

Commit

Permalink
refactor(sandbox): resolve test cases
Browse files Browse the repository at this point in the history
resolve test cases

gh-0
  • Loading branch information
Tyagi-Sunny committed Jan 28, 2025
1 parent 4ce4563 commit 1c611d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sandbox/oauth-example/src/__tests__/acceptance/test-helper.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {AuthApplication} from '../..';
import {
Client,
createRestAppClient,
givenHttpServerConfig,
Client,
} from '@loopback/testlab';
import {AuthApplication} from '../..';

export async function setupApplication(): Promise<AppWithClient> {
const restConfig = givenHttpServerConfig({
Expand All @@ -19,8 +19,8 @@ export async function setupApplication(): Promise<AppWithClient> {
rest: restConfig,
});

app.bind('datasources.config.db').to({
name: 'db',
app.bind('datasources.config.auth').to({
name: 'auth',
connector: 'memory',
});

Expand Down

0 comments on commit 1c611d0

Please sign in to comment.