zitadel/internal/api/oidc/integration_test
Stefan Benz 8d97363642
chore: improve integration tests (#8727)
Improve integration tests:
- spliting the tests in TokenExchange to isolated instances and in
parallel
- corrected some test structure so that the check for Details is no done
anymore if the test already failed
- replace required-calls with assert-calls to not stop the testing
- add gofakeit for application, project and usernames(emails)
- add eventually checks for testing in actions v2, so the request only
get called when the execution is defined
- check for length of results in list/search endpoints to avoid index
errors
2024-10-17 21:20:57 +00:00
..
auth_request_test.go chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
client_test.go fix: correctly check app state on authentication (#8630) 2024-09-17 11:34:14 +00:00
keys_test.go chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
oidc_test.go chore: improve integration tests (#8727) 2024-10-17 21:20:57 +00:00
server_test.go chore(tests): use a coverage server binary (#8407) 2024-09-06 14:47:57 +02:00
token_client_credentials_test.go fix: ignore projectID and origin check for service accounts (#8704) 2024-10-01 16:38:28 +02:00
token_exchange_test.go chore: improve integration tests (#8727) 2024-10-17 21:20:57 +00:00
token_jwt_profile_test.go fix: ignore projectID and origin check for service accounts (#8704) 2024-10-01 16:38:28 +02:00
userinfo_test.go chore: improve integration tests (#8727) 2024-10-17 21:20:57 +00:00