summary refs log tree commit diff
path: root/nixos/tests/ferretdb.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/ferretdb.nix')
-rw-r--r--nixos/tests/ferretdb.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/ferretdb.nix b/nixos/tests/ferretdb.nix
index 9ad7397ade8..7251198af77 100644
--- a/nixos/tests/ferretdb.nix
+++ b/nixos/tests/ferretdb.nix
@@ -39,7 +39,7 @@ with import ../lib/testing-python.nix { inherit system; };
             ensureDatabases = [ "ferretdb" ];
             ensureUsers = [{
               name = "ferretdb";
-              ensurePermissions."DATABASE ferretdb" = "ALL PRIVILEGES";
+              ensureDBOwnership = true;
             }];
           };