about summary refs log tree commit diff
path: root/nixos/tests/roundcube.nix
diff options
context:
space:
mode:
authorDonal Cahill <magicmole@gmail.com>2019-11-04 10:03:00 +0000
committerDonal Cahill <magicmole@gmail.com>2019-11-04 10:03:00 +0000
commitddc35b13f60f2c8f83e7bc87bc18aacebdf6fe45 (patch)
tree9f6718049550f85b589ae25423be3380bd3bc284 /nixos/tests/roundcube.nix
parent6a600b1c22268198df93e977c5d32696da9291b9 (diff)
roundcube: tests - add space to db password, check setup script worked
Diffstat (limited to 'nixos/tests/roundcube.nix')
-rw-r--r--nixos/tests/roundcube.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/roundcube.nix b/nixos/tests/roundcube.nix
index ed0ebd7dd19dc..76b735a8c7479 100644
--- a/nixos/tests/roundcube.nix
+++ b/nixos/tests/roundcube.nix
@@ -9,7 +9,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       services.roundcube = {
         enable = true;
         hostName = "roundcube";
-        database.password = "notproduction";
+        database.password = "not production";
         package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
         plugins = [ "persistent_login" ];
       };
@@ -23,6 +23,7 @@ import ./make-test.nix ({ pkgs, ...} : {
   testScript = ''
     $roundcube->start;
     $roundcube->waitForUnit("postgresql.service");
+    $roundcube->waitForUnit("roundcube-setup.service");
     $roundcube->waitForUnit("phpfpm-roundcube.service");
     $roundcube->waitForUnit("nginx.service");
     $roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");