From d7c069bc5459928fe3f6573dda99ddff9a364255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 29 Mar 2024 12:54:16 +0100 Subject: [PATCH] Fix tests --- check_process | 28 ---------------------------- manifest.toml | 2 +- tests.toml | 10 ++++++++++ 3 files changed, 11 insertions(+), 29 deletions(-) delete mode 100644 check_process create mode 100644 tests.toml diff --git a/check_process b/check_process deleted file mode 100644 index 6d66784..0000000 --- a/check_process +++ /dev/null @@ -1,28 +0,0 @@ -;; Test complet - ; Manifest - encrypt=true - encryption_pwd="password" - core_backup=true - apps_backup=true - frequency="Weekly" - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=0 - setup_nourl=1 - setup_private=0 - setup_public=0 - upgrade=1 - #upgrade=1 from_commit=2b2793737d5e1374659cbb74838d10162a2147e6 - backup_restore=1 - multi_instance=1 - port_already_use=0 - change_url=0 - config_panel=0 -;;; Options -Email= -Notification=change -;;; Upgrade options - ; #commit=2b2793737d5e1374659cbb74838d10162a2147e6 - #name=03 Nov 2017 2b2793737d5e1374659cbb74838d10162a2147e6 - manifest_arg=encrypt=1&encryption_pwd="password"&core_backup=1&apps_backup=1&frequency="Weekly"& diff --git a/manifest.toml b/manifest.toml index 2ca5db6..affdd1b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -62,7 +62,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen choices.weekly = "Weekly" choices.weeks_2 = "Biweekly" choices.monthly = "Monthly" - default = "Weekly" + default = "weekly" [resources] [resources.sources.main] diff --git a/tests.toml b/tests.toml new file mode 100644 index 0000000..9fba047 --- /dev/null +++ b/tests.toml @@ -0,0 +1,10 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json + +test_format = 1.0 + +[default] + + args.encryption_pwd = "the_password" + args.frequency = "weekly" + + test_upgrade_from.2b2793737d5e1374659cbb74838d10162a2147e6.name = "03/11/2017"