nixos/tests/neo4j: Use curl --fail

Changed files
+1 -1
nixos
tests
+1 -1
nixos/tests/neo4j.nix
···
master.wait_for_unit("neo4j")
master.wait_for_open_port(7474)
-
master.succeed("curl http://localhost:7474/")
+
master.succeed("curl -f http://localhost:7474/")
'';
}