mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
Fix some tests
This commit is contained in:
@@ -311,7 +311,7 @@ def test_user_can_confirm_email(mock_smtp):
|
||||
with client.session_transaction() as sess:
|
||||
data = {"nonce": sess.get("nonce")}
|
||||
r = client.post("http://localhost/confirm", data=data)
|
||||
assert "confirmation email has been resent" in r.get_data(as_text=True)
|
||||
assert "Confirmation email sent to" in r.get_data(as_text=True)
|
||||
|
||||
r = client.get("/challenges")
|
||||
assert (
|
||||
|
||||
Reference in New Issue
Block a user