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

fix: tests for ambulance APIs #1575

Closed
wants to merge 4 commits into from
Closed

Conversation

aeswibon
Copy link
Member

@aeswibon aeswibon commented Sep 4, 2023

Bug Fix

Proposed Changes

  • Adds test for ambulance APIs

Associated Issue

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

Only PR's with test cases included and passing lint and test pipelines will be reviewed

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

@aeswibon aeswibon marked this pull request as ready for review September 5, 2023 11:45
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fa5ba42) 60.62% compared to head (7975012) 60.96%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1575      +/-   ##
==========================================
+ Coverage   60.62%   60.96%   +0.34%     
==========================================
  Files         210      210              
  Lines       11484    11486       +2     
  Branches     1633     1633              
==========================================
+ Hits         6962     7003      +41     
+ Misses       4284     4242      -42     
- Partials      238      241       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aeswibon aeswibon requested a review from sainak October 26, 2023 14:14
return ambulance


class DeleteDriverSerializer(serializers.Serializer):
driver_id = serializers.IntegerField()
driver_id = serializers.UUIDField()
Copy link
Member

@sainak sainak Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: this endpoint is not being used on the frontend so it is okay to change to ext id

@aeswibon aeswibon closed this Mar 19, 2024
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

Successfully merging this pull request may close these issues.

Adds test for various endpoints in the ambulance module
2 participants