def METHOD_NAME(
    client, phase_factory, category_factory, admin
):
    phase = phase_factory(phase_content=phases.PrioritizePhase())
    module = phase.module
    project = module.project
    category = category_factory(module=module)
    moderator = project.moderators.first()
    url = reverse(
        "a4dashboard:topic-create",
        kwargs={
            "organisation_slug": module.project.organisation.slug,
            "module_slug": module.slug,
        },
    )
    with freeze_pre_phase(phase):
        client.login(username=moderator.email, password="password")
        response = client.get(url)
        assert_template_response(response, "a4_candy_topicprio/topic_create_form.html")
        assert response.status_code == 200
        topic = {
            "name": "Topic",
            "description": "description",
            "category": category.pk,
        }
        response = client.post(url, topic)
        assert response.status_code == 302
        assert redirect_target(response) == "topic-list"
        count = models.Topic.objects.all().count()
        assert count == 1