diff --git a/graphene_django/forms/tests/test_converter.py b/graphene_django/forms/tests/test_converter.py index 6039eac..e76c5c2 100644 --- a/graphene_django/forms/tests/test_converter.py +++ b/graphene_django/forms/tests/test_converter.py @@ -117,5 +117,5 @@ def test_should_manytoone_convert_connectionorlist(): def test_should_typed_choice_convert_enum(): field = forms.TypedChoiceField(choices=(('A', 'Choice A'), ('B', 'Choice B')), label='field') - graphene_type = convert_form_field_with_choices('field_name', field) + graphene_type = convert_form_field_with_choices(field, name='field_name') assert isinstance(graphene_type, Enum)