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

Add tests for week-3/02-course-app-easy #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

saikumarpb
Copy link

This MR adds the following tests to week-3/02-course-app-easy

  1. should allow admins to signup
  2. shouldn't allow duplicate usernames for admins
  3. should allow admins to login
  4. shouldn't allow admins to login on invalid credentials
  5. shouldn't allow admins to login with bad request body
  6. should allow admins to create courses
  7. should allow admins to update courses
  8. should send 404 on updating invalid courseId
  9. admins should get courses
  10. should allow users to signup
  11. should allow users to login
  12. shouldn't allow users to login on invalid credentials
  13. shouldn't allow users to login with bad request body
  14. users should be able to get all courses
  15. should allow users to purchase courses
  16. should send 404 on purchasing course with invalid courseId
  17. should allow users to get purchased courses
  18. shouldn't allow users to access admin routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant