GilbertR-Programmer / ApiTestingProject

MIT License
0 stars 1 forks source link

As a user I want to update a pet in the store with form data #5

Open ChrisRaynerSG opened 1 month ago

ChrisRaynerSG commented 1 month ago

5.1 @happy Given I send a Post Request with {petID} And I have provided Valid information When I send the request Then The Pet Should be updated And I should receive a 204 no content status code

ChrisRaynerSG commented 1 month ago

5.2 @sad Given I send a Post Request with {petID} And I have provided an invalid petID When I send the request Then I should recieve a 405 invalid input status code And nothing should be updated

ChrisRaynerSG commented 1 month ago

@5.3 @Sad Given I send a Post Request with {petID} And I have provided a valid petID that does not exist When I send the request Then I should recieve a 404 not found status code And nothing should be updated

ChrisRaynerSG commented 1 month ago

5.4 @Sad Given I send a Post Request with {petID} And I have provided a valid petID And I have provided invalid information When I send the request Then I should recieve a 405 Invalid input status code And nothing should be updated