reiji-h 1 년 전
부모
커밋
bde1b06a33
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/server/middlewares/access-token-parser/access-token.integ.ts

+ 1 - 1
apps/app/src/server/middlewares/access-token-parser/access-token.integ.ts

@@ -149,7 +149,7 @@ describe('access-token-parser middleware for access token with scopes', () => {
     // // assert
     expect(reqMock.user).toBeUndefined();
     expect(serializeUserSecurely).not.toHaveBeenCalled();
-    expect(nextMock).toHaveBeenCalled();
+    expect(nextMock).not.toHaveBeenCalled();
   });
 
   it('should authenticate with write scope implying read scope', async() => {