nixos/gotosocial: fix failing tests

Fixes: https://github.com/NixOS/nixpkgs/issues/353896

Upstream gotosocial started caching instance user count in:

4592e29087
This commit is contained in:
Blake Smith 2024-11-05 14:11:02 -06:00
parent 3e44af0b4a
commit d65243dcef

View File

@ -21,7 +21,6 @@
machine.wait_for_open_port(8081)
# check user registration via cli
machine.succeed("curl -sS -f http://localhost:8081/nodeinfo/2.0 | jq '.usage.users.total' | grep -q '^0$'")
machine.succeed("gotosocial-admin account create --username nickname --email email@example.com --password kurtz575VPeBgjVm")
machine.succeed("curl -sS -f http://localhost:8081/nodeinfo/2.0 | jq '.usage.users.total' | grep -q '^1$'")
'';