From e36353532c75045fb173c655f4b04d0e288f2d5c Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 29 Aug 2021 00:08:59 +0200 Subject: [PATCH] gitea-plugin: fix test The test seems to be broken for a while[1]. The cause for this is that in gitea 1.14 the `create-user` command got renamed to `user create`. [1] https://hydra.nixos.org/build/151092299 --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 44e5898c..ab31092e 100644 --- a/flake.nix +++ b/flake.nix @@ -797,7 +797,7 @@ machine.wait_for_open_port(3001) machine.succeed( - "su -l gitea -c 'GITEA_WORK_DIR=/var/lib/gitea gitea admin create-user " + "su -l gitea -c 'GITEA_WORK_DIR=/var/lib/gitea gitea admin user create " + "--username root --password root --email test@localhost'" ) machine.succeed("su -l postgres -c 'psql gitea < ${scripts.mktoken}'")