summary refs log tree commit diff
path: root/nixos/tests/gotify-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/gotify-server.nix')
-rw-r--r--nixos/tests/gotify-server.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/tests/gotify-server.nix b/nixos/tests/gotify-server.nix
index c6e00686aed..051666fbe72 100644
--- a/nixos/tests/gotify-server.nix
+++ b/nixos/tests/gotify-server.nix
@@ -1,6 +1,6 @@
 import ./make-test-python.nix ({ pkgs, lib, ...} : {
   name = "gotify-server";
-  meta = with pkgs.stdenv.lib.maintainers; {
+  meta = with pkgs.lib.maintainers; {
     maintainers = [ ma27 ];
   };
 
@@ -41,5 +41,10 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
     )
 
     assert title == "Gotify"
+
+    # Ensure that the UI responds with a successfuly code and that the
+    # response is not empty
+    result = machine.succeed("curl -fsS localhost:3000")
+    assert result, "HTTP response from localhost:3000 must not be empty!"
   '';
 })