Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Latest commit

 

History

History
10 lines (7 loc) · 424 Bytes

backend.md

File metadata and controls

10 lines (7 loc) · 424 Bytes

Backend Testing

Auth

As Actix is validating tokens in integration tests you need to send authenticated requests.
To do that use the token provided by the function init_test_app and insert it into the Authorization header.

There is no need for an authorization server during tests.
The token will be created using a jwk that was specifically created for tests. The same jwk will be used to validate the tokens.