Skip to content

Commit

Permalink
Merge branch 'main' into YiranLI/feature/get-v2-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yiranlir authored Mar 25, 2024
2 parents 36c6084 + aeac4b7 commit a3093ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest
pytest
2 changes: 1 addition & 1 deletion tests/functional/test_unavailability_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_get_volunteer_unavailability_no_records(test_client, create_user):
assert response.status_code == 400 # Assuming the endpoint returns a 400 status for no records found
assert response.json == {"message": "No unavailability record found."} # Expected response body for no records



def test_get_volunteer_unavailability_invalid_user(test_client):
user_id = -1
Expand Down

0 comments on commit a3093ed

Please sign in to comment.