about summary refs log tree commit diff
path: root/nixos/tests/gitea.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-03-20 14:32:10 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2023-03-20 14:32:10 +0100
commit5c5f710388f0d94a222c91c79c0c812d2b65fdde (patch)
tree7e07c22677e6db04255d4d0075aaa1047ccb484e /nixos/tests/gitea.nix
parent9030145e666bf33f16132e0aca31a2c964fb9e0d (diff)
gitea: 1.18.5 -> 1.19.0
ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.19.0
Diffstat (limited to 'nixos/tests/gitea.nix')
-rw-r--r--nixos/tests/gitea.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix
index a8b5567c20751..86d4fce379291 100644
--- a/nixos/tests/gitea.nix
+++ b/nixos/tests/gitea.nix
@@ -93,7 +93,7 @@ let
       api_token = server.succeed(
           "curl --fail -X POST http://test:totallysafe@localhost:3000/api/v1/users/test/tokens "
           + "-H 'Accept: application/json' -H 'Content-Type: application/json' -d "
-          + "'{\"name\":\"token\"}' | jq '.sha1' | xargs echo -n"
+          + "'{\"name\":\"token\",\"scopes\":[\"all\"]}' | jq '.sha1' | xargs echo -n"
       )
 
       server.succeed(