* fixes #625

* update dependencies

* bump version

* fix failing tests

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-07-25 12:55:30 -08:00
committed by GitHub
parent bf06482b29
commit 940663a22d
14 changed files with 214 additions and 193 deletions

View File

@@ -59,9 +59,8 @@ def test_read_update(api_client: TestClient, api_routes: AppRoutes, recipe_data:
assert response.status_code == 200
assert json.loads(response.text).get("slug") == recipe_data.expected_slug
response = api_client.get(recipe_url)
response = api_client.get(recipe_url, headers=user_token)
assert response.status_code == 200
print(response)
recipe = json.loads(response.text)
assert recipe["notes"] == test_notes