def METHOD_NAME(client, phase_factory, map_idea_factory):
    phase, module, project, mapidea = setup_phase(
        phase_factory, map_idea_factory, phases.RatingPhase
    )
    url = reverse(
        "meinberlin_mapideas:mapidea-delete",
        kwargs={"pk": mapidea.pk, "year": mapidea.created.year},
    )
    with freeze_phase(phase):
        count = models.MapIdea.objects.all().count()
        assert count == 1
        client.login(username=mapidea.creator.email, password="password")
        response = client.get(url)
        assert response.status_code == 403