mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
remove test for depreciated route
This commit is contained in:
parent
c7256d7212
commit
27e3b4f4aa
3 changed files with 0 additions and 5 deletions
BIN
tests/data/migrations/chowdown/chowdown-gh-pages.zip
Normal file
BIN
tests/data/migrations/chowdown/chowdown-gh-pages.zip
Normal file
Binary file not shown.
BIN
tests/data/migrations/nextcloud/new_nextcloud.zip
Normal file
BIN
tests/data/migrations/nextcloud/new_nextcloud.zip
Normal file
Binary file not shown.
|
@ -34,11 +34,6 @@ def test_create_no_image(api_client: TestClient, api_routes: AppRoutes, token, r
|
||||||
assert json.loads(response.text) == "banana-bread-no-image"
|
assert json.loads(response.text) == "banana-bread-no-image"
|
||||||
|
|
||||||
|
|
||||||
def test_read_all_post(api_client: TestClient, api_routes: AppRoutes):
|
|
||||||
response = api_client.post(api_routes.recipes, json={"properties": ["slug", "description", "rating"]})
|
|
||||||
assert response.status_code == 200
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("recipe_data", recipe_test_data)
|
@pytest.mark.parametrize("recipe_data", recipe_test_data)
|
||||||
def test_read_update(api_client: TestClient, api_routes: AppRoutes, recipe_data, token):
|
def test_read_update(api_client: TestClient, api_routes: AppRoutes, recipe_data, token):
|
||||||
recipe_url = api_routes.recipes_recipe_slug(recipe_data.expected_slug)
|
recipe_url = api_routes.recipes_recipe_slug(recipe_data.expected_slug)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue