diff options
author | Vika <vika@fireburn.ru> | 2025-01-01 06:49:05 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-01 07:08:33 +0300 |
commit | 5f2f17cfdad67a2374ff98cf7f3ad0edf34c5b0a (patch) | |
tree | 8722d2a49bd1a0e0bac7a2c4a5dc066a05a242d4 | |
parent | 1a6f10aaaf79c4bb47f0359d82e719d1d5e52f2d (diff) | |
download | kittybox-5f2f17cfdad67a2374ff98cf7f3ad0edf34c5b0a.tar.zst |
Fix Postgres setup in tests
Change-Id: Ibc26d9700faa0c25663146871924ee196dc62274
-rw-r--r-- | nixos-tests/postgres-smoke-test.nix | 4 | ||||
-rw-r--r-- | nixos-tests/smoke-test.nix | 4 | ||||
-rw-r--r-- | nixos-tests/webmention-test.nix | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/nixos-tests/postgres-smoke-test.nix b/nixos-tests/postgres-smoke-test.nix index 51d53c7..f2526c3 100644 --- a/nixos-tests/postgres-smoke-test.nix +++ b/nixos-tests/postgres-smoke-test.nix @@ -11,9 +11,7 @@ kittybox: ensureDatabases = ["kittybox"]; ensureUsers = [ { name = "kittybox"; - ensurePermissions = { - "DATABASE kittybox" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; }; diff --git a/nixos-tests/smoke-test.nix b/nixos-tests/smoke-test.nix index b043a31..74691a6 100644 --- a/nixos-tests/smoke-test.nix +++ b/nixos-tests/smoke-test.nix @@ -11,9 +11,7 @@ kittybox: ensureDatabases = ["kittybox"]; ensureUsers = [ { name = "kittybox"; - ensurePermissions = { - "DATABASE kittybox" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; }; diff --git a/nixos-tests/webmention-test.nix b/nixos-tests/webmention-test.nix index 45e3ff7..105beb8 100644 --- a/nixos-tests/webmention-test.nix +++ b/nixos-tests/webmention-test.nix @@ -16,9 +16,7 @@ in { ensureDatabases = ["kittybox"]; ensureUsers = [ { name = "kittybox"; - ensurePermissions = { - "DATABASE kittybox" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; }; |