CSC510-Group-25 / feature-hunt

A feature collection platform where users can share/vote/discuss feature requests and product owners can organize them
MIT License
0 stars 6 forks source link

login test case with wrong input not working #112

Closed peeyush10234 closed 2 years ago

peeyush10234 commented 2 years ago

When giving wrong input into response, the expected status code was 500 but we got 200.

snapcat commented 2 years ago

Is this in the front end or back end? Which file(s) are you looking at?

And... which branch?

peeyush10234 commented 2 years ago

Backend, I am testing the backend login API, it is in the file backend-new/auth_controller.py

snapcat commented 2 years ago

93

https://github.com/CSC510-Group-25/feature-hunt/pull/93/files

@etracey7 updated backend/auth_controller.py (not backend-new!)

Try making a pull request and see if your tests work with her updates.

snapcat commented 2 years ago

Discussion: https://github.com/CSC510-Group-25/feature-hunt/pull/119#issuecomment-968385183