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:
Maximilian Bosch 2021-08-29 00:08:59 +02:00
parent a0a9d4c1c3
commit e36353532c
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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}'")