about summary refs log tree commit diff
path: root/nixos/tests/lanraragi.nix
diff options
context:
space:
mode:
authorTomaSajt <62384384+TomaSajt@users.noreply.github.com>2023-11-05 13:28:47 +0100
committerTomaSajt <62384384+TomaSajt@users.noreply.github.com>2023-11-29 08:52:48 +0100
commiteac5dfd20ff4a618b0b62262bdafcd2245f2c7ea (patch)
tree88d98c30b0f14f06761868211e94798f055ed4ef /nixos/tests/lanraragi.nix
parentce89133d426d213006378ceb518cf97ebb445a4d (diff)
lanraragi: 0.8.90 -> 0.9.0
Diffstat (limited to 'nixos/tests/lanraragi.nix')
-rw-r--r--nixos/tests/lanraragi.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/tests/lanraragi.nix b/nixos/tests/lanraragi.nix
index f513ac9d252bc..7a4a1a489bdff 100644
--- a/nixos/tests/lanraragi.nix
+++ b/nixos/tests/lanraragi.nix
@@ -10,19 +10,17 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
       services.lanraragi = {
         enable = true;
         passwordFile = pkgs.writeText "lrr-test-pass" ''
-          ultra-secure-password
+          Ultra-secure-p@ssword-"with-spec1al\chars
         '';
         port = 4000;
         redis = {
           port = 4001;
           passwordFile = pkgs.writeText "redis-lrr-test-pass" ''
-            still-a-very-secure-password
+            123-redis-PASS
           '';
         };
       };
     };
-
-
   };
 
   testScript = ''
@@ -34,7 +32,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
 
     machine2.wait_for_unit("lanraragi.service")
     machine2.wait_until_succeeds("curl -f localhost:4000")
-    machine2.succeed("[ $(curl -o /dev/null -X post 'http://localhost:4000/login' --data-raw 'password=ultra-secure-password' -w '%{http_code}') -eq 302 ]")
+    machine2.succeed("[ $(curl -o /dev/null -X post 'http://localhost:4000/login' --data-raw 'password=Ultra-secure-p@ssword-\"with-spec1al\\chars' -w '%{http_code}') -eq 302 ]")
   '';
 })