Your climate action is here 🌎 Our API is a source for learning how climate change personally affects you and the things you care about most. Additionally, it will teach a scientifically proven method for communicating to others that climate change is a personally relevant issue to inspire action.
Deleted logout.cy.js and replaced it with an equivalent pytest in app/auth/tests/test_auth_routes.py
Removed obsolete logoutEndpoint cypress command.
Added patch to test to ensure unset_jwt_cookies was called.
Closing issues:
List all issues the pull request solve:
Closes #397
Test plan (required)
[x] The PR contains new PyTest unit/integration tests for any function or functional added.
[x] The PR changes existing PyTest unit/integration tests to keep all tests up to date.
[x] The PR does not lead to degradation in unit test coverage.
[x] Project parts affected by changes in this PR was tested manually on your local (using Postman or in any other way). List everything you've tested below:
Detailed information:
logout.cy.js
and replaced it with an equivalent pytest inapp/auth/tests/test_auth_routes.py
logoutEndpoint
cypress command.unset_jwt_cookies
was called.Closing issues:
List all issues the pull request solve:
Test plan (required)