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

Unit Tests - Species Endpoint #33

Open
Vanethos opened this issue Aug 14, 2019 · 0 comments
Open

Unit Tests - Species Endpoint #33

Vanethos opened this issue Aug 14, 2019 · 0 comments

Comments

@Vanethos
Copy link
Contributor

Description
Unit tests for the endpoint GET {{base_url}}/occurrences/species

Pre-Requisites

Unit-Tests

  • Creating the model via a JSON Response
  • Calling the endpiint and mocking a 200 response with a valid response
  • Calling the endpoint and mocking a 200 response with an invalid response
  • Calling the endpoint and mocking a 400 response
  • Verify that calling the api with a mock response creates the expected object
@OldMetalmind OldMetalmind added this to the v1.0.0 - Akita milestone Aug 16, 2019
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

2 participants