diff --git a/frontend/templates/admin_users.html b/frontend/templates/admin_users.html index 4b2b2d18..7d0b86ee 100644 --- a/frontend/templates/admin_users.html +++ b/frontend/templates/admin_users.html @@ -143,10 +143,9 @@ - Complimentary plan @@ -392,7 +391,7 @@ class="sr-only peer" id="modal-complimentary" role="switch" - :aria-checked="form.is_complimentary" + :aria-checked="form.is_complimentary.toString()" />
diff --git a/tests/test_admin_users.py b/tests/test_admin_users.py index f961b065..7f215278 100644 --- a/tests/test_admin_users.py +++ b/tests/test_admin_users.py @@ -621,7 +621,7 @@ class TestEnsureUserProfileAdmin: @pytest.mark.unit def test_admin_login_does_not_downgrade_existing_tier(self, au_session): - """Existing admin profile with a paid tier keeps that tier on re-login.""" + """Existing admin profile with the highest tier keeps that tier on re-login.""" from app.auth import _ensure_user_profile from app.utils.subscription import TIER_ORDER