From 6acd6fe3003c6c0645b935549984e27e996b02a0 Mon Sep 17 00:00:00 2001 From: Tony Anziano Date: Mon, 8 Jun 2020 10:44:57 -0700 Subject: [PATCH] Fixed test. --- .../routes/channel/userToken/mountUserTokenRoutes.spec.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/app/main/src/server/routes/channel/userToken/mountUserTokenRoutes.spec.ts b/packages/app/main/src/server/routes/channel/userToken/mountUserTokenRoutes.spec.ts index b67f4603b..dcd22bdb2 100644 --- a/packages/app/main/src/server/routes/channel/userToken/mountUserTokenRoutes.spec.ts +++ b/packages/app/main/src/server/routes/channel/userToken/mountUserTokenRoutes.spec.ts @@ -36,7 +36,6 @@ import { createBotFrameworkAuthenticationMiddleware } from '../../handlers/botFr import { createJsonBodyParserMiddleware } from '../../../utils/jsonBodyParser'; import { mountUserTokenRoutes } from './mountUserTokenRoutes'; -import { emulateOAuthCards } from './handlers/emulateOAuthCards'; import { getToken } from './handlers/getToken'; import { signOut } from './handlers/signOut'; import { createTokenResponseHandler } from './handlers/tokenResponse'; @@ -77,12 +76,6 @@ describe('mountUserTokenRoutes', () => { getToken ); - expect(emulatorServer.server.post).toHaveBeenCalledWith( - '/api/usertoken/emulateOAuthCards', - botFrameworkAuthentication, - emulateOAuthCards - ); - expect(emulatorServer.server.del).toHaveBeenCalledWith( '/api/usertoken/SignOut', botFrameworkAuthentication,