CSE210-G13 / my-roommates

A platform for students to find compatible roommates based on their preferences and lifestyle. CSE210 WI23 project.
https://roomie-green.vercel.app
1 stars 0 forks source link

[Test] User Request functionality #84

Closed adityabarsainya closed 1 year ago

adityabarsainya commented 1 year ago

Writing unit test case for the following scenario:

User Request logic ✓ test 1: Add fromUserID to the pending list of toUserID. ✓ test 2: Add fromUserID to the pending list of toUserID. ✓ test 1: Add the user to the accepted list of both users. ✓ test 2: Add user to the accepted list of both users. ✓ Get the list of Accepted requests. ✓ Get the list of Pending requests. ✓ Check whether the user request is accepted. ✓ Check whether the user request is pending.

Image