open-ecommerce-api / store-engine

An ecommerce backend-API created using Django and DRF (Django Rest Framework).
GNU General Public License v3.0
13 stars 10 forks source link

Test logout functionality #95

Open aminm08 opened 1 year ago

aminm08 commented 1 year ago

Logout endpoint test cases should cover the scenarios below:

  1. Test valid logout: test that the authenticated user is logged out successfully
  2. Anonymous user test: test that the endpoint responds as we want to an anonymous user requesting the logout endpoint