about summary refs log tree commit diff
path: root/nixos/tests/kanidm.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-09-05 14:56:23 +0200
committerKerstin <kerstin@erictapen.name>2022-09-05 17:13:10 +0200
commit9ac9449a0a50d8daf07b08f46a5b49bc28b045ca (patch)
treefe0ee2d100cedd5254ac53e7b28e198a9951ef60 /nixos/tests/kanidm.nix
parentb6f5b819203d044247f92204d235689640a42634 (diff)
nixos/tests/kanidm: Update recover_account commandline
The username is now passed directly as an argument.
Diffstat (limited to 'nixos/tests/kanidm.nix')
-rw-r--r--nixos/tests/kanidm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/kanidm.nix b/nixos/tests/kanidm.nix
index d34f680f5224b..852dc53e75d3f 100644
--- a/nixos/tests/kanidm.nix
+++ b/nixos/tests/kanidm.nix
@@ -69,7 +69,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
         server.wait_until_succeeds("curl -sf https://${serverDomain} | grep Kanidm")
         server.wait_until_succeeds("ldapsearch -H ldap://[::1]:636 -b '${ldapBaseDN}' -x '(name=test)'")
         client.wait_until_succeeds("kanidm login -D anonymous && kanidm self whoami | grep anonymous@${serverDomain}")
-        (rv, result) = server.execute("kanidmd recover_account -d quiet -c ${serverConfigFile} -n admin 2>&1 | rg -o '[A-Za-z0-9]{48}'")
+        rv, result = server.execute("kanidmd recover_account -c ${serverConfigFile} idm_admin 2>&1 | rg -o '[A-Za-z0-9]{48}'")
         assert rv == 0
       '';
   })