Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BasileusErwin committed May 4, 2023
1 parent 607d76a commit 28cfe17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/middleware.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function authorization(req: Request, res: Response, next: NextFunction) {

logger.debug({
userId,
})
});

if (!userId) {
return next();
Expand Down
4 changes: 2 additions & 2 deletions test/helpers/user.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export class UserHelper extends Helper {
constructor(request: SuperTest<Request>) {
super(
request,
'sessionID=s%3A2YDn3FaFbkn76oZuHDccyM_mwYv6Xzn_.mxQGXbQRwkpECY0Ixre9KwEvxhjcABgc%2BXZeEyXOOyI; Path=/; HttpOnly; Expires=Sat, 03 Jun 2023 14:03:03 GMT;'
)
'sessionID=s%3A2YDn3FaFbkn76oZuHDccyM_mwYv6Xzn_.mxQGXbQRwkpECY0Ixre9KwEvxhjcABgc%2BXZeEyXOOyI; Path=/; HttpOnly; Expires=Sat, 03 Jun 2023 14:03:03 GMT;',
);
}

public async createUser(body: RegisterUserRequest): Promise<Response> {
Expand Down

0 comments on commit 28cfe17

Please sign in to comment.