1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00
redirect_ynh/tests.toml

38 lines
975 B
TOML
Raw Normal View History

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
2023-09-26 21:36:36 +02:00
test_format = 1.0
[default]
args.redirect_type = "reverseproxy"
args.target = "http://127.0.0.1:1234/"
exclude = ["install.private", "install.multi", "backup_restore", "change_url"]
2023-09-26 21:36:36 +02:00
[default.test_upgrade_from.09cf1c6b]
name = "v1 era"
args.domain = "domain.tld"
args.path = "/"
args.redirect_type = "proxy"
args.redirect_path = "http://127.0.0.1:1234/"
args.is_public = true
2023-12-05 01:01:08 +01:00
[redirect]
2023-12-05 01:01:08 +01:00
args.redirect_type = "redirect"
args.target = "https://127.0.0.1"
2023-12-05 01:08:20 +01:00
# Turns out 302 redirects cant be made private because they are interpreted before going through the sso ...
exclude = ["install.private"]
2023-12-05 01:01:08 +01:00
[redirect.test_upgrade_from.09cf1c6b]
name = "v1 era"
args.domain = "domain.tld"
args.path = "/"
args.redirect_type = "visible_302"
args.redirect_path = "https://127.0.0.1"
args.is_public = true