From 5455972be2c62d7862c351b1328beacf4bd5c3da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Thu, 29 Dec 2022 12:55:30 +0100 Subject: [PATCH] fix(auth): specs for verifying authenticator authentication response --- ...VerifyAuthenticatorAuthenticationResponse.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/auth/src/Domain/UseCase/VerifyAuthenticatorAuthenticationResponse/VerifyAuthenticatorAuthenticationResponse.spec.ts b/packages/auth/src/Domain/UseCase/VerifyAuthenticatorAuthenticationResponse/VerifyAuthenticatorAuthenticationResponse.spec.ts index 55127d312..aa5631700 100644 --- a/packages/auth/src/Domain/UseCase/VerifyAuthenticatorAuthenticationResponse/VerifyAuthenticatorAuthenticationResponse.spec.ts +++ b/packages/auth/src/Domain/UseCase/VerifyAuthenticatorAuthenticationResponse/VerifyAuthenticatorAuthenticationResponse.spec.ts @@ -44,7 +44,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => { const result = await useCase.execute({ userUuid: 'invalid', - registrationCredential: { + authenticationCredential: { authenticatorAttachment: 'platform', clientExtensionResults: {}, id: 'id', @@ -72,7 +72,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => { const result = await useCase.execute({ userUuid: '00000000-0000-0000-0000-000000000000', - registrationCredential: { + authenticationCredential: { authenticatorAttachment: 'platform', clientExtensionResults: {}, id: 'id', @@ -100,7 +100,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => { const result = await useCase.execute({ userUuid: '00000000-0000-0000-0000-000000000000', - registrationCredential: { + authenticationCredential: { authenticatorAttachment: 'platform', clientExtensionResults: {}, id: 'id', @@ -129,7 +129,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => { const result = await useCase.execute({ userUuid: '00000000-0000-0000-0000-000000000000', - registrationCredential: { + authenticationCredential: { authenticatorAttachment: 'platform', clientExtensionResults: {}, id: 'id', @@ -162,7 +162,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => { const result = await useCase.execute({ userUuid: '00000000-0000-0000-0000-000000000000', - registrationCredential: { + authenticationCredential: { authenticatorAttachment: 'platform', clientExtensionResults: {}, id: 'id', @@ -198,7 +198,7 @@ describe('VerifyAuthenticatorAuthenticationResponse', () => { const result = await useCase.execute({ userUuid: '00000000-0000-0000-0000-000000000000', - registrationCredential: { + authenticationCredential: { authenticatorAttachment: 'platform', clientExtensionResults: {}, id: 'id',