summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaya <github@uwu.is>2024-10-14 13:49:14 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-10-15 07:12:16 +0000
commit7cc5975c446e8c4c2e79718a4047f1ee8aa462a9 (patch)
tree977b6d29498cd497b73677e3a7a4d122e266a949
parentsnipe-it: 7.0.12 -> 7.0.13 (diff)
downloadnixpkgs-origin/backport-347933-to-release-24.05.tar.gz
nixosTests.snipe-it: fix testorigin/backport-347933-to-release-24.05
(cherry picked from commit 209b7f634b4acef930ac39acc146dc0c4c4b04f3)
-rw-r--r--nixos/tests/web-apps/snipe-it.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/web-apps/snipe-it.nix b/nixos/tests/web-apps/snipe-it.nix
index 123d7742056b..b04bd516831c 100644
--- a/nixos/tests/web-apps/snipe-it.nix
+++ b/nixos/tests/web-apps/snipe-it.nix
@@ -65,7 +65,9 @@ in {
with subtest("Circumvent the pre-flight setup by just writing some settings into the database ourself"):
snipeit.succeed(
"""
- mysql -D ${nodes.snipeit.services.snipe-it.database.name} -e "INSERT INTO settings (id, user_id, site_name) VALUES ('1', '1', '${siteName}');"
+ mysql -D ${nodes.snipeit.services.snipe-it.database.name} -e "
+ INSERT INTO settings (id, site_name, login_remote_user_custom_logout_url, login_remote_user_header_name)
+ VALUES ('1', '${siteName}', 'https://whatever.invalid', 'whatever');"
"""
)