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:
@@ -259,7 +259,7 @@ def test_user_needs_all_required_fields():
|
||||
|
||||
r = client.get("/challenges")
|
||||
assert r.status_code == 302
|
||||
assert r.location.startswith("http://localhost/settings")
|
||||
assert r.location.startswith("/settings")
|
||||
|
||||
# Populate the non-required fields
|
||||
r = client.patch(
|
||||
@@ -277,7 +277,7 @@ def test_user_needs_all_required_fields():
|
||||
# I should still be restricted from seeing challenges
|
||||
r = client.get("/challenges")
|
||||
assert r.status_code == 302
|
||||
assert r.location.startswith("http://localhost/settings")
|
||||
assert r.location.startswith("/settings")
|
||||
|
||||
# I should still see all fields b/c I don't have a complete profile
|
||||
r = client.get("/settings")
|
||||
|
||||
Reference in New Issue
Block a user