about summary refs log tree commit diff
path: root/nixos-tests
diff options
context:
space:
mode:
Diffstat (limited to 'nixos-tests')
-rw-r--r--nixos-tests/postgres-smoke-test.nix4
-rw-r--r--nixos-tests/smoke-test.nix4
-rw-r--r--nixos-tests/webmention-test.nix4
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;
         } ];
       };