Skip to content

Commit

Permalink
Merge pull request #1 from DinCahill/fix/roundcube
Browse files Browse the repository at this point in the history
roundcube: tests - add space to db password, check setup script worked
  • Loading branch information
f--t authored Nov 19, 2019
2 parents 6a600b1 + ddc35b1 commit d7982b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/tests/roundcube.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
};
Expand All @@ -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'");
Expand Down

0 comments on commit d7982b7

Please sign in to comment.