def METHOD_NAME(
    client, phase_factory, idea_factory, user, category_factory, organisation
):
    phase, module, project, idea = setup_phase(
        phase_factory, idea_factory, phases.IssuePhase
    )
    category = category_factory(module=module)
    url = reverse(
        "a4_candy_ideas:idea-create",
        kwargs={"organisation_slug": organisation.slug, "module_slug": module.slug},
    )
    with freeze_phase(phase):
        client.login(username=user.email, password="password")
        response = client.get(url)
        assert_template_response(response, "a4_candy_ideas/idea_create_form.html")
        idea = {
            "name": "Idea",
            "description": "description",
            "category": category.pk,
            "organisation_terms_of_use": True,
        }
        response = client.post(url, idea)
        assert redirect_target(response) == "idea-detail"