mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Bump Dependencies (#2332)
* Bump dependencies * Closes #2300 * Closes #2331
This commit is contained in:
@@ -51,7 +51,7 @@ def test_anonymous_users_view_public_challenges_without_team():
|
||||
with app.test_client() as client:
|
||||
r = client.get("/challenges")
|
||||
assert r.status_code == 302
|
||||
assert r.location.startswith("http://localhost/login")
|
||||
assert r.location.startswith("/login")
|
||||
|
||||
set_config("challenge_visibility", "public")
|
||||
with app.test_client() as client:
|
||||
@@ -61,5 +61,5 @@ def test_anonymous_users_view_public_challenges_without_team():
|
||||
with login_as_user(app) as client:
|
||||
r = client.get("/challenges")
|
||||
assert r.status_code == 302
|
||||
assert r.location.startswith("http://localhost/team")
|
||||
assert r.location.startswith("/team")
|
||||
destroy_ctfd(app)
|
||||
|
||||
Reference in New Issue
Block a user