Skip to content

Commit

Permalink
feat(workweek): fix test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
koekiebox committed Sep 9, 2024
1 parent cad7474 commit 282a717
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ describe('Wallet Address Resolvers', (): void => {
let walletAddressService: WalletAddressService

beforeAll(async (): Promise<void> => {
deps = await initIocContainer(Config)
deps = initIocContainer({
...Config,
localCacheDuration: 0
})
appContainer = await createTestApp(deps)
knex = appContainer.knex
walletAddressService = await deps.use('walletAddressService')
Expand Down
5 changes: 4 additions & 1 deletion packages/backend/src/open_payments/quote/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ describe('QuoteService', (): void => {
}

beforeAll(async (): Promise<void> => {
deps = initIocContainer(Config)
deps = initIocContainer({
...Config,
localCacheDuration: 0
})
appContainer = await createTestApp(deps)

knex = appContainer.knex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ describe('Open Payments Wallet Address Service', (): void => {
let knex: Knex

beforeAll(async (): Promise<void> => {
deps = initIocContainer(Config)
deps = initIocContainer({
...Config,
localCacheDuration: 0
})
config = await deps.use('config')
appContainer = await createTestApp(deps)
knex = appContainer.knex
Expand Down

0 comments on commit 282a717

Please sign in to comment.