This commit is contained in:
@@ -25,6 +25,18 @@ def test_login_page_renders_stitch_design(client):
|
||||
assert reverse("password_reset") in body
|
||||
assert 'src="/static/js/login.js?' in body
|
||||
assert "<script>" not in body
|
||||
assert "Persoonlijke intelligence cockpit" in body
|
||||
assert 'alt="ITWorx.tech"' in body
|
||||
assert 'src="/static/img/itworx-wordmark.png"' in body
|
||||
assert 'sizes="512x512"' in body
|
||||
|
||||
|
||||
@override_settings(VACATURERADAR_OWNER_NAME="Eigen merk")
|
||||
def test_login_page_keeps_official_brand_separate_from_owner_setting(client):
|
||||
body = client.get(reverse("login")).content.decode("utf-8")
|
||||
|
||||
assert "Eigen merk" not in body
|
||||
assert 'content="VacatureRadar · ITWorx.tech"' in body
|
||||
|
||||
|
||||
def test_login_with_email(client, user):
|
||||
|
||||
Reference in New Issue
Block a user