Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGS-POST TASK TEMPLATES] - Error Unhandle For Exceed ID #52

Open
belhiibeng opened this issue Jul 2, 2023 · 0 comments
Open

[BUGS-POST TASK TEMPLATES] - Error Unhandle For Exceed ID #52

belhiibeng opened this issue Jul 2, 2023 · 0 comments
Assignees

Comments

@belhiibeng
Copy link
Contributor

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

@belhiibeng belhiibeng self-assigned this Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant