fix: fix molecule connection test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
276fd3bf54
commit
4558b17162
@ -19,8 +19,8 @@ def test_freshrss_socket(host):
|
|||||||
|
|
||||||
|
|
||||||
def test_freshrss_conn_error(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)
|
code = int(host.run("curl -sL -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
|
body = host.run("curl -sLX GET http://127.0.0.1:8080/").stdout
|
||||||
|
|
||||||
assert code == 200
|
assert code == 200
|
||||||
assert "FreshRSS" in body
|
assert "Login · FreshRSS" in body
|
||||||
|
Loading…
Reference in New Issue
Block a user