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

Test coverage for GET /organisation/ endpoint #1658

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

azharcodeit
Copy link
Collaborator

@azharcodeit azharcodeit commented Jul 16, 2024

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Related Issue

Related to Issue #1613

Describe this PR

Added a test to get a list of all organisations from GET /organisation/ endpoint.

Screenshots

Screenshot 2024-07-16 at 19 45 21

Alternative Approaches Considered

Enhance with edge cases testing.

Review Guide

Command to run all tests defined in the project using pytest:

docker compose run --rm api pytest

Checklist before requesting a review

[optional] What gif best describes this PR or how it makes you feel?

@spwoodcock spwoodcock added the tests Related to automated code tests label Jul 17, 2024
@spwoodcock spwoodcock self-requested a review July 17, 2024 15:40
@spwoodcock spwoodcock merged commit 625c146 into hotosm:development Jul 17, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code tests Related to automated code tests
Projects
Development

Successfully merging this pull request may close these issues.

2 participants