diff --git a/gregui/tests/api/test_invitation.py b/gregui/tests/api/test_invitation.py index e3f8d7a972ea4304a0558ca87644bd279c377547..7f1968579b2e11bb7cf77e54c838dca328d8babb 100644 --- a/gregui/tests/api/test_invitation.py +++ b/gregui/tests/api/test_invitation.py @@ -44,7 +44,7 @@ def test_get_invited_info_no_session(client, invitation_link): @pytest.mark.django_db def test_get_invited_info_session_okay( - client, invitation_link, person_foo_data, sponsor_guy_data, role_type_foo, unit_foo + client, invitation_link, person_foo_data, sponsor_guy_data, role_type_foo, unit_foo ): # get a session client.get( @@ -60,6 +60,7 @@ def test_get_invited_info_session_okay( mobile_phone=None, fnr=None, passport=None, + feide_id=None, ) assert data.get("sponsor") == dict( first_name=sponsor_guy_data["first_name"], @@ -78,7 +79,7 @@ def test_get_invited_info_session_okay( @pytest.mark.django_db def test_get_invited_info_expired_link( - client, invitation_link, invitation_expired_date + client, invitation_link, invitation_expired_date ): # Get a session while link is valid client.get( @@ -96,7 +97,7 @@ def test_get_invited_info_expired_link( @pytest.mark.django_db def test_invited_guest_can_post_information( - client: APIClient, invitation_link, person_foo_data + client: APIClient, invitation_link, person_foo_data ): # get a session client.get( @@ -125,7 +126,7 @@ def test_invited_guest_can_post_information( @pytest.mark.django_db def test_post_invited_info_expired_session( - client, invitation_link, invitation_expired_date + client, invitation_link, invitation_expired_date ): # get a session client.get( @@ -158,7 +159,7 @@ def test_post_invited_info_deleted_inv_link(client, invitation_link): @pytest.mark.django_db def test_post_invited_info_invalid_national_id_number( - client, invitation_link, person_foo_data, person + client, invitation_link, person_foo_data, person ): data = { "person": { @@ -185,7 +186,7 @@ def test_post_invited_info_invalid_national_id_number( @pytest.mark.django_db def test_post_invited_info_valid_national_id_number( - client, invitation_link, person_foo_data, person + client, invitation_link, person_foo_data, person ): fnr = "11120618212" data = {