fix: fix molecule connection test
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-11-25 14:46:52 +01:00
parent 276fd3bf54
commit 4558b17162
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ def test_freshrss_socket(host):
def test_freshrss_conn_error(host):
code = int(host.run("curl -s -w '%{http_code}' http://127.0.0.1:8080/ -o /dev/null").stdout)
body = host.run("curl -sX GET http://127.0.0.1:8080/").stdout
code = int(host.run("curl -sL -w '%{http_code}' http://127.0.0.1:8080/ -o /dev/null").stdout)
body = host.run("curl -sLX GET http://127.0.0.1:8080/").stdout
assert code == 200
assert "FreshRSS" in body
assert "Login · FreshRSS" in body