Skip to content

Commit

Permalink
chore: 移除 sonarcloud github action (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
l7wei authored and iwtba4188 committed Dec 25, 2023
1 parent 49aa8cf commit 351b730
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 43 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/sonarcloud.yml

This file was deleted.

15 changes: 0 additions & 15 deletions sonar-project.properties

This file was deleted.

2 changes: 1 addition & 1 deletion src/api/routers/dining.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_dining_data_by_name(


@router.get(
"/scedules/{day_of_week}", response_model=list[schemas.dining.DiningRestaurant]
"/schedules/{day_of_week}", response_model=list[schemas.dining.DiningRestaurant]
)
def get_schedule_by_day_of_week(
day_of_week: schemas.dining.DiningSceduleName = Path(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dining.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_dining_restaurants(restaurant_name):
"day_of_week", [_.value for _ in schemas.dining.DiningSceduleName]
)
def test_dining_schedules(day_of_week):
response = client.get(url=f"/dining/scedules/{day_of_week}")
response = client.get(url=f"/dining/schedules/{day_of_week}")
assert response.status_code == 200


Expand Down

0 comments on commit 351b730

Please sign in to comment.