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

Refactor saved pins test file in tests folder #76

Closed
jkwening opened this issue Feb 3, 2018 · 1 comment
Closed

Refactor saved pins test file in tests folder #76

jkwening opened this issue Feb 3, 2018 · 1 comment
Labels
backend good first issue Good for newcomers help wanted Extra attention is needed testing/QA

Comments

@jkwening
Copy link
Contributor

jkwening commented Feb 3, 2018

User authentication is now in place so current tests/savedPins.js fails and needs to be refactored to incorporate authentication rules. See #38 for overview of authentication concept and verifyToken method to see how we pass approved token around.

As a quick overview, when a user logs in or registers an account successfully a token is generated and assigned to the user until they log out or it expires. This token is used to authenticate the user's access to secure end points on the server - primarily saved pins and directions and search history. You will need to incorporate the passing of a valid toke into the unit test.

@jkwening
Copy link
Contributor Author

jkwening commented Feb 9, 2018

merged #99

@jkwening jkwening closed this as completed Feb 9, 2018
Planning Board automation moved this from Back end Tasks to Complete Feb 9, 2018
Testing QA automation moved this from To Do to Done Feb 9, 2018
@jkwening jkwening removed the next label Feb 9, 2018
@jkwening jkwening reopened this Feb 9, 2018
Testing QA automation moved this from Done to In progress Feb 9, 2018
@jkwening jkwening closed this as completed Feb 9, 2018
Testing QA automation moved this from In progress to Done Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend good first issue Good for newcomers help wanted Extra attention is needed testing/QA
Projects
Planning Board
  
Complete
Testing QA
  
Done
Development

No branches or pull requests

1 participant