nixos/tests/limesurvey: Use curl --fail
This commit is contained in:
parent
1d5130a97f
commit
238dbb4517
|
@ -20,7 +20,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
|
|
||||||
machine.wait_for_unit("phpfpm-limesurvey.service")
|
machine.wait_for_unit("phpfpm-limesurvey.service")
|
||||||
assert "The following surveys are available" in machine.succeed(
|
assert "The following surveys are available" in machine.succeed(
|
||||||
"curl http://example.local/"
|
"curl -f http://example.local/"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue