CCirbo / Little_Shop

1 stars 2 forks source link

Test/sad paths #86

Closed jimmacur closed 3 weeks ago

jimmacur commented 3 weeks ago

This PR updates the create action in the Merchants Controller to handle missing parameters with a 400 Bad Request response and ensures consistent response formatting. It also adds a test to check that the API properly handles missing required attributes during merchant creation.

MDelarosa1993 commented 3 weeks ago

Great job on improving the error handling and adding comprehensive tests to validate these changes!