codersforcauses / coexist

https://coexist-events.vercel.app
MIT License
6 stars 0 forks source link

Issue 60 create branch api tests #63

Closed Divrr closed 3 months ago

Divrr commented 3 months ago

Change Summary

Created tests for expected behaviour of the branch API endpoints, as well as "negative" tests for missing field, invalid field, unauthorised, and does-not-exist errors.

Change Form

Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

Other Information

"/workspaces/coexist/server/api/branch/tests.py", line 145 fails, which is testing a PATCH of an invalid field. I can't tell if this is intended functionality?

Related issue

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
coexist ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2024 3:33pm
Divrr commented 3 months ago

PLEASE NOTE: THE BACKEND CODE CHECK FAILING IS SOMETHING THAT REQUIRES REVIEW:

"/workspaces/coexist/server/api/branch/tests.py", line 145 fails, which is testing a PATCH of an invalid field. I can't tell if this is intended functionality?