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

GET /logout #20

Closed
2 tasks done
LinaYahya opened this issue Jun 17, 2020 · 0 comments
Closed
2 tasks done

GET /logout #20

LinaYahya opened this issue Jun 17, 2020 · 0 comments
Assignees

Comments

@LinaYahya
Copy link
Collaborator

relates #2

Route: GET api/v1/logout

Acceptance Criteria
  • Response
  • Testing

res.clearCookie('token').redirect('/');

Response

  • Success
{ statusCode:200 ,
Location: '/login'
}
  • Failed
{statusCode:500, 
message:"Internal Server Error"}

Testing

to be a successful test

  • status === 200
  • location === '/login'
@ranasobeid95 ranasobeid95 added this to To do in Backend(API) via automation Jun 17, 2020
@LinaYahya LinaYahya mentioned this issue Jun 21, 2020
Backend(API) automation moved this from To do to Done Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backend(API)
  
Done
Development

No branches or pull requests

2 participants