From a6f77c513d40f5a83deb56ee704d57fa85fd5465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 11 Nov 2023 14:20:15 +0100 Subject: [PATCH] v2 --- manifest.toml | 7 +++---- tests.toml | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5218e54..91971a0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -36,8 +36,6 @@ ram.runtime = "50M" default = "/galette" [install.init_main_permission] - help.en = "If enabled, Galette will be accessible by people who do not have an account. This can be changed later via the webadmin." - help.fr = "Si cette case est cochée, Galette sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." type = "group" default = "visitors" @@ -48,7 +46,8 @@ ram.runtime = "50M" type = "password" [install.database] - ask.en = "Choose SQL databe you want" + ask.en = "Choose SQL database you want" + ask.fr = "Choisissez la base de données SQL souhaitée" type = "select" choices = ["pgsql", "mysql"] default = "pgsql" @@ -74,6 +73,6 @@ ram.runtime = "50M" echo "mariadb-server, php7.4-mysql" elif [[ "$database" == "postgresql" ]]; then - echo "postgresql, postgresql-contrib, php7.4-psql" + echo "postgresql, postgresql-contrib, php7.4-pgsql" fi """ diff --git a/tests.toml b/tests.toml index e69de29..4a86e0f 100644 --- a/tests.toml +++ b/tests.toml @@ -0,0 +1,18 @@ +test_format = 1.0 + +[default] + + # ------------------------------- + # Default args to use for install + # ------------------------------- + + args.database="pgsql" + + # ------------------------------- + # Commits to test upgrade from + # ------------------------------- + + [postgresql_test] + + only = ["install.subdir", "backup_restore", "upgrade" ] + args.database = "mysql"