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

Testing: Create tests for PATCH /apartments/id #208

Closed
OrAbramovich opened this issue Mar 27, 2018 · 3 comments
Closed

Testing: Create tests for PATCH /apartments/id #208

OrAbramovich opened this issue Mar 27, 2018 · 3 comments
Assignees
Labels
Projects

Comments

@OrAbramovich
Copy link
Collaborator

Create unit tests for the route: PATCH /apartments/id.

Tests to be added:

  1. Trying to update an ad that you are not the owner - should fail
  2. Trying to update non existing ad - should fail.
  3. Trying to update an ad with an invalid data - should fail.
  4. Successful update.
@OrAbramovich OrAbramovich added this to the Mid Semester POC milestone Mar 27, 2018
@OrAbramovich OrAbramovich self-assigned this Mar 27, 2018
@OrAbramovich OrAbramovich added this to Backlog in Roommates via automation Mar 27, 2018
@OrAbramovich
Copy link
Collaborator Author

Time estimation: 0.75 hour (including fixing bugs).

@OrAbramovich OrAbramovich moved this from Backlog to In progress in Roommates Mar 29, 2018
OrAbramovich added a commit that referenced this issue Mar 29, 2018
Added end to end testing of the new route which modifies apartment info. Tests description is available in the GitHub issue.

#208
@OrAbramovich
Copy link
Collaborator Author

Actual Time: 1 hour (including fixing bugs).

@OrAbramovich
Copy link
Collaborator Author

Done.

Roommates automation moved this from In progress to Done Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Roommates
  
Done
Development

No branches or pull requests

1 participant