stable
Clone or download
Read-only
Part of story #31173 register a new passkey This commit introduce class PasskeyStub. A helper class for tests. It will allow to generate json object returned by a passkey and send to server along registration and authentication ceremony. Change-Id: I7ef0cb8abbc40bc2658e46a14fb0a31c5089cd12
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +3 | −0 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +3 | −0 | Go to diff View file |
M | src/common/WebAuthn/Controllers/PostRegistrationController.php | +1 | −1 | Go to diff View file |
A | tests/lib/Stubs/WebAuthn/PasskeyStub.php | +106 | −0 | Go to diff View file |
M | tests/unit/common/WebAuthn/Controllers/PostRegistrationControllerTest.php | +8 | −44 | Go to diff View file |