From 5f2f17cfdad67a2374ff98cf7f3ad0edf34c5b0a Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 1 Jan 2025 06:49:05 +0300 Subject: Fix Postgres setup in tests Change-Id: Ibc26d9700faa0c25663146871924ee196dc62274 --- nixos-tests/postgres-smoke-test.nix | 4 +--- nixos-tests/smoke-test.nix | 4 +--- 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; } ]; }; -- cgit 1.4.1