ucsb-cs156-s23 / team02-s23-7pm-3

https://ucsb-cs156-s23.github.io/team02-s23-7pm-3/
0 stars 0 forks source link

Change Restaurant ID handling and fix surviving mutation in AmusementParks #68

Closed wq12li closed 1 year ago

wq12li commented 1 year ago

In this PR, I've changed the Restaurant controller in how it handles the "id" field:

While testing, I also found that there was a surviving mutation in the test for the AmusementPark controller: This was caused by the test for PUT not actually changing the description between the original and the edited versions of the AmusementPark used in the test. I've changed it to kill the mutation.

There is also one more minor change made by deleting an unnecessary import from UCSBDiningCommons.