Félix Piédallu 1 年間 前
コミット
d7c069bc54
3 ファイル変更11 行追加29 行削除
  1. 0 28
      check_process
  2. 1 1
      manifest.toml
  3. 10 0
      tests.toml

+ 0 - 28
check_process

@@ -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"&

+ 1 - 1
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]

+ 10 - 0
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"