Merge pull request #1 from DinCahill/fix/roundcube
roundcube: tests - add space to db password, check setup script worked
This commit is contained in:
commit
d7982b7382
@ -9,7 +9,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||||||
services.roundcube = {
|
services.roundcube = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "roundcube";
|
hostName = "roundcube";
|
||||||
database.password = "notproduction";
|
database.password = "not production";
|
||||||
package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
|
package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
|
||||||
plugins = [ "persistent_login" ];
|
plugins = [ "persistent_login" ];
|
||||||
};
|
};
|
||||||
@ -23,6 +23,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||||||
testScript = ''
|
testScript = ''
|
||||||
$roundcube->start;
|
$roundcube->start;
|
||||||
$roundcube->waitForUnit("postgresql.service");
|
$roundcube->waitForUnit("postgresql.service");
|
||||||
|
$roundcube->waitForUnit("roundcube-setup.service");
|
||||||
$roundcube->waitForUnit("phpfpm-roundcube.service");
|
$roundcube->waitForUnit("phpfpm-roundcube.service");
|
||||||
$roundcube->waitForUnit("nginx.service");
|
$roundcube->waitForUnit("nginx.service");
|
||||||
$roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");
|
$roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");
|
||||||
|
Loading…
Reference in New Issue
Block a user