mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-11 07:25:42 -04:00
fix: preserve stored recipe slugs during hydration (#7294)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com> Co-authored-by: Michael Genson <genson.michael@gmail.com>
This commit is contained in:
@@ -98,8 +98,8 @@ def test_get_all_public_recipes(
|
||||
@pytest.mark.parametrize(
|
||||
"query_filter, recipe_data, should_fetch",
|
||||
[
|
||||
('slug = "mypublicslug"', {"slug": "mypublicslug"}, True),
|
||||
('slug = "mypublicslug"', {"slug": "notmypublicslug"}, False),
|
||||
('slug = "mypublicslug"', {"slug": "mypublicslug", "name": "mypublicslug"}, True),
|
||||
('slug = "mypublicslug"', {"slug": "notmypublicslug", "name": "notmypublicslug"}, False),
|
||||
("settings.public = FALSE", {}, False),
|
||||
("settings.public <> TRUE", {}, False),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user