You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given post task templates with valid req body & exceed ID 1 When Send post task templates Then Status code should be 400 Bad Request And Response body status should be "failed" and message contains "Cannot add or update a child row: a foreign key constraint fails" And Validate post create task templates JSON Schema
Expected Result: Then Status code should be 400 Bad Request
Actual Result: Then Status code was 500 Internal server Error
The text was updated successfully, but these errors were encountered:
Endpoint : https://temanpetani-api-7hxmz4cxza-as.a.run.app/templates/:id/tasks
Given post task templates with valid req body & exceed ID 1
When Send post task templates
Then Status code should be 400 Bad Request
And Response body status should be "failed" and message contains "Cannot add or update a child row: a foreign key constraint fails"
And Validate post create task templates JSON Schema
Expected Result:
Then Status code should be 400 Bad Request
Actual Result:
Then Status code was 500 Internal server Error
The text was updated successfully, but these errors were encountered: