chore: update error message alias custom domain (#2432)

This commit is contained in:
Carlos Quintana
2025-04-04 12:36:59 +02:00
committed by GitHub
parent 77bd9730ab
commit c7cbc7a4c8
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ def custom_alias():
)
custom_domain = domain_deleted_alias.domain
flash(
f"You have deleted this alias before. You can restore it on "
f"You have deleted this alias before. If you want to re-create it, please delete it from "
f"{custom_domain.domain} 'Deleted Alias' page",
"error",
)
+1 -3
View File
@@ -364,9 +364,7 @@ def test_add_alias_in_custom_domain_trash(flask_client):
follow_redirects=True,
)
assert r.status_code == 200
assert "You have deleted this alias before. You can restore it on" in r.get_data(
True
)
assert "You have deleted this alias before" in r.get_data(True)
def test_too_many_requests(flask_client):