mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-03 04:25:24 +02:00
* fix #967 and test error to catch * add admin tests
This commit is contained in:
parent
c617251f4c
commit
14cc541f7a
5 changed files with 94 additions and 54 deletions
|
@ -29,8 +29,15 @@ test_cases = [
|
|||
MigrationTestData(typ=SupportedMigrations.mealie_alpha, archive=test_data.migrations_mealie),
|
||||
]
|
||||
|
||||
test_ids = [
|
||||
"nextcloud_archive",
|
||||
"paprika_archive",
|
||||
"chowdown_archive",
|
||||
"mealie_alpha_archive",
|
||||
]
|
||||
|
||||
@pytest.mark.parametrize("mig", test_cases)
|
||||
|
||||
@pytest.mark.parametrize("mig", test_cases, ids=test_ids)
|
||||
def test_recipe_migration(api_client: TestClient, unique_user: TestUser, mig: MigrationTestData) -> None:
|
||||
payload = {
|
||||
"migration_type": mig.typ.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue