keycloak-nodejs-admin-client
keycloak-nodejs-admin-client copied to clipboard
Email tests means local tests always fail
Describe the bug It's not possible to run tests locally and get all green due to a hardcoded dependency on a 3rd party SMTP server. See https://github.com/keycloak/keycloak-nodejs-admin-client/blob/master/test/users.spec.ts#L47-L59. The credentials for this service are configured in TravisCI so they pass there, but not available locally.
To Reproduce Steps to reproduce the behavior:
- Run the tests locally, see two failures for email tests
Expected behavior It's possible to run all tests locally and get all green.
Screenshots n/a
Enviroment (please complete the following information):
- OS: MacOS Mojave
- Keycloak Version: 7.0.1
- Library Version: master, HEAD
Additional context n/a
you can add TRAVIS=true as environmental variable to skip these tests