about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/powerdns-admin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/powerdns-admin.nix')
-rw-r--r--nixpkgs/nixos/tests/powerdns-admin.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixpkgs/nixos/tests/powerdns-admin.nix b/nixpkgs/nixos/tests/powerdns-admin.nix
index d7bacb24eec5..d326d74a9826 100644
--- a/nixpkgs/nixos/tests/powerdns-admin.nix
+++ b/nixpkgs/nixos/tests/powerdns-admin.nix
@@ -87,9 +87,7 @@ let
           ensureUsers = [
             {
               name = "powerdnsadmin";
-              ensurePermissions = {
-                "DATABASE powerdnsadmin" = "ALL PRIVILEGES";
-              };
+              ensureDBOwnership = true;
             }
           ];
         };