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

PUT | /kindergarten/:id #22

Open
3 tasks
alaa-sahloub opened this issue Feb 1, 2021 · 0 comments
Open
3 tasks

PUT | /kindergarten/:id #22

alaa-sahloub opened this issue Feb 1, 2021 · 0 comments
Labels

Comments

@alaa-sahloub
Copy link
Collaborator

alaa-sahloub commented Feb 1, 2021

relates #5

Route: PUT api/v1/kindergarten/:id

Acceptance Criteria

  • DB query
  • Response
  • Testing

DB query

UPDATE kindergarten SET phone_number = 0123456789 WHERE  id=id;

Response

  • Success
{ 
 StatusCode: 200,
 message : 'Update kidergarten profile data Successfully'
}
  • Failed
{statusCode:400, message:"Bad Request"}

Testing

to be a successful test

  • status === 200
  • message === 'Update kidergarten profile data Successfully'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant