Skip to content

Commit

Permalink
fix(testing): Add missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarchen committed Oct 27, 2023
1 parent 203fd90 commit 8cf502d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/testing/src/test-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class TestServer {
const usingCookie =
tokenMethod === 'cookie' || (Array.isArray(tokenMethod) && tokenMethod.includes('cookie'));
if (usingCookie) {
configureSessionCookies(config);
configureSessionCookies(app, config);
}
const earlyMiddlewares = config.apiOptions.middleware.filter(mid => mid.beforeListen);
earlyMiddlewares.forEach(mid => {
Expand Down

0 comments on commit 8cf502d

Please sign in to comment.