Merge pull request #1014 from Ma27/fix-gitea-test

gitea-plugin: fix test
This commit is contained in:
Graham Christensen 2021-08-30 09:43:59 -04:00 committed by GitHub
commit bec44614f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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