diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2023-04-24 14:21:06 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2023-05-01 20:51:11 +0200 |
commit | d309952a5ddc3a97b7d126463281f63c3bb74505 (patch) | |
tree | 725a2f9bc12a5603a1c57db177fee67a5402a62f /nixos/tests/mediawiki.nix | |
parent | c129c9fac02437818a50e439e7c571ea414e05ef (diff) |
nixos/mediawiki: make apache optional
Diffstat (limited to 'nixos/tests/mediawiki.nix')
-rw-r--r-- | nixos/tests/mediawiki.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/tests/mediawiki.nix b/nixos/tests/mediawiki.nix index 0cbaebac591b1..3d05591c68066 100644 --- a/nixos/tests/mediawiki.nix +++ b/nixos/tests/mediawiki.nix @@ -54,4 +54,15 @@ in assert "MediaWiki has been installed" in page ''; }; + + nohttpd = testLib.makeTest { + name = "mediawiki-nohttpd"; + nodes.machine = { + services.mediawiki.webserver = "none"; + }; + testScript = '' + start_all() + machine.wait_for_unit("phpfpm-mediawiki.service") + ''; + }; } |