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

Fix backend tests failing if FIRST_SUPERUSER_PASSWORD is not "changethis" #1213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swelborn
Copy link

See discussion here: #1135 (reply in thread)

This was changed in the following PR: #632

Changing it back to settings.FIRST_SUPERUSER_PASSWORD makes it work again.

I think the issue is that after this test, the password is changed to something else and the other tests can't authorize.

There was another fix in that discussion here: #1135 (reply in thread)

Don't know what is preferred, let me know.

@swelborn
Copy link
Author

swelborn commented May 24, 2024

Forgot to add...

To reproduce:

  1. Clone master
  2. Edit FIRST_SUPERUSER_PASSWORD in .env to something other than "changethis"
  3. docker compose up
  4. Exec into backend container
  5. run bash ./scripts/test.sh

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

Successfully merging this pull request may close these issues.

None yet

1 participant