fix(auth): specs for verifying authenticator authentication response

This commit is contained in:
Karol Sójko
2022-12-29 12:55:43 +01:00
parent 57488bcd16
commit 5455972be2
@@ -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',