CSU-Booking-Platform / application

MIT License
0 stars 9 forks source link

task(#745): added image and description to image, fixed old tests and… #757

Closed jonathanp16 closed 1 year ago

jonathanp16 commented 2 years ago

… added new ones

IMPORTANT: Always create an issue before a PR and provide enough information so that others can review

Explain the details for making this change.

What existing problem does the pull request solve?

Rooms needed to have images as well as descriptions, and both be editable. The images are stored in the public storage disk.

Test plan (required)

Demonstrate the code is solid.
Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

All tests were updated to include both the image field and description. Since updating an image was made as an individual controller method, a new test was created to test the functionality of updating a room with an image present.

Closing issues

List all issues this PR resolves

Pre-Merge checklist

Complete these items before requesting reviews

Sub-tasks Checklist