From 209b7f634b4acef930ac39acc146dc0c4c4b04f3 Mon Sep 17 00:00:00 2001 From: Yaya Date: Mon, 14 Oct 2024 13:49:14 +0200 Subject: [PATCH] nixosTests.snipe-it: fix test --- nixos/tests/web-apps/snipe-it.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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');" """ )