def METHOD_NAME(client, phase_factory, user):
    phase, module, project, idea = setup_phase(
        phase_factory, None, CollectFeedbackPhase
    )
    organisation = project.organisation
    organisation.language = "de"
    organisation.save()
    url = component.get_base_url(project)
    initiator = module.project.organisation.initiators.first()
    client.login(username=initiator.email, password="password")
    response = client.get(url)
    assert_template_response(response, "a4_candy_projects/project_moderators.html")
    data = {
        "add_users": user.email,
    }
    response = client.post(url, data)
    assert redirect_target(response) == "dashboard-{}-edit".format(component.identifier)
    assert ModeratorInvite.objects.get(email=user.email)
    assert len(mail.outbox) == 1
    assert mail.outbox[0].subject.startswith("Invitation to moderate the project:")