Files
sm-user-plugin/registration_test.go
Jakub Zych 8a658903ed test: cover the exported registration steps
- RegisterUser: nil handle, validation refusals that write nothing, the
  activation and IP options, the configured bcrypt cost, input untouched
- FireRegisterEvent: payload without password keys, listener error
  returned, nil app and nil fields
- IssueToken: issuer from the request URL and X-Forwarded-Proto, nil
  user, nil request and a missing JWT secret refused
- APIArray: listener merge, listener error, nil user
2026-10-03 11:17:32 +02:00

7.5 KiB