Skip to content

Commit

Permalink
Do not set the deprecated id field in test
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Aug 15, 2024
1 parent 5a88773 commit d65597f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Controller/WebAuthnTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ private function setAuthenticatorResponse(AuthenticatorResponse $response): Publ
$content = 'The http content with AuthenticatorAssertionResponse';

$this->request = Request::create('https://webauthn.dev.openconext.local', 'POST', [], [] , [], [], $content);
$publicKeyCredential = new PublicKeyCredential('fictional', 'public-key', 'Public key credential raw id 1234', $response);
$publicKeyCredential = new PublicKeyCredential(null, 'public-key', 'Public key credential raw id 1234', $response);

$this->publicKeyCredentialLoader
->shouldReceive('load')
->with($content)
Expand Down

0 comments on commit d65597f

Please sign in to comment.