tiangolo / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
24.53k stars 4.14k forks source link

♻️ Fix tests when first superuser password is changed in .env #1165

Closed billzhong closed 2 months ago

billzhong commented 3 months ago

The test_reset_password test changes user password. It will break other tests becuase get_superuser_token_headers function won't able to get access_token.

It relates to #217

tiangolo commented 2 months ago

Makes sense, thank you @billzhong! :rocket:

headingy commented 4 weeks ago

pity this got reverted by https://github.com/tiangolo/full-stack-fastapi-template/pull/1178