From ddc35b13f60f2c8f83e7bc87bc18aacebdf6fe45 Mon Sep 17 00:00:00 2001 From: Donal Cahill Date: Mon, 4 Nov 2019 10:03:00 +0000 Subject: [PATCH] roundcube: tests - add space to db password, check setup script worked --- nixos/tests/roundcube.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/roundcube.nix b/nixos/tests/roundcube.nix index ed0ebd7dd19d..76b735a8c747 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'");