diff --git a/frontend/src/routes/guest/register/steps/register.tsx b/frontend/src/routes/guest/register/steps/register.tsx
index 13d15a31b3962f8cd437565183b3506505f7e403..d19e2eb1778fe36b902dbd9ff49d76fa0fa11d77 100644
--- a/frontend/src/routes/guest/register/steps/register.tsx
+++ b/frontend/src/routes/guest/register/steps/register.tsx
@@ -282,7 +282,7 @@ const GuestRegisterStep = forwardRef(
                     return t(`input.${selected}`)
                   }}
                 >
-                  {/*Keep it simple and hardcode the gender values*/}
+                  {/* Keep it simple and hardcode the gender values */}
                   <MenuItem disabled value="">
                     {t('input.gender')}
                   </MenuItem>
diff --git a/gregui/tests/api/views/test_invitation.py b/gregui/tests/api/views/test_invitation.py
index 4ea6868e0b62580e30b83c67e170ebfd2c23c8f0..ffec92959671b24dd55cd26573dd17cf2972eafb 100644
--- a/gregui/tests/api/views/test_invitation.py
+++ b/gregui/tests/api/views/test_invitation.py
@@ -93,6 +93,7 @@ def test_get_invited_info_session_okay(
         passport=None,
         feide_id=None,
         date_of_birth=None,
+        gender=None
     )
     assert data.get("sponsor") == dict(
         first_name=sponsor_foo_data["first_name"],