@@ -9,7 +9,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
99 services.roundcube = {
1010 enable = true;
1111 hostName = "roundcube";
12− database.password = "notproduction";
12+ database.password = "not production";
1313 package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
1414 plugins = [ "persistent_login" ];
1515 };
@@ -21,10 +21,11 @@ import ./make-test-python.nix ({ pkgs, ...} : {
2121 };
2222
2323 testScript = ''
24− roundcube.start
25− roundcube.wait_for_unit("postgresql.service")
26− roundcube.wait_for_unit("phpfpm-roundcube.service")
27− roundcube.wait_for_unit("nginx.service")
28− roundcube.succeed("curl -sSL http://roundcube/ | grep 'Keep me logged in'")
24+ $roundcube->start;
25+ $roundcube->waitForUnit("postgresql.service");
26+ $roundcube->waitForUnit("roundcube-setup.service");
27+ $roundcube->waitForUnit("phpfpm-roundcube.service");
28+ $roundcube->waitForUnit("nginx.service");
29+ $roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");
2930 '';
3031})