forked from lix-project/hydra
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
This commit is contained in:
parent
a0a9d4c1c3
commit
e36353532c
|
@ -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}'")
|
||||
|
|
Loading…
Reference in a new issue