Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests which require a User Bearer Token fail #120

Open
thehabes opened this issue Jun 25, 2024 · 0 comments
Open

Tests which require a User Bearer Token fail #120

thehabes opened this issue Jun 25, 2024 · 0 comments

Comments

@thehabes
Copy link
Member

Currently we have a environment variable called TEST_TOKEN which is used in those tests. It is a regular User token, and so tests all the authorization and User stuff connected with token processing and verification.

The problem is that it is a regular User token which expires regularly. That means when CI/CD/localhost tests have an expired token, the tests fails, and the deploys are cancelled.

At this time, we are skipping these tests until we can figure out a token trick for this. Developers need to know to get a fresh token from users.t-pen.org to run these tests successfully. Developers should do this anytime changes are made to an authenticated route.

@thehabes thehabes changed the title Tests which require a User Bearer Token Fail Tests which require a User Bearer Token fail Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant