def METHOD_NAME(client, map_idea_factory):
    mapidea = map_idea_factory()
    moderator = mapidea.module.project.moderators.first()
    client.login(username=moderator.email, password="password")
    url = reverse(
        "a4_candy_mapideas:mapidea-delete",
        kwargs={
            "organisation_slug": mapidea.project.organisation.slug,
            "pk": mapidea.pk,
            "year": mapidea.created.year,
        },
    )
    response = client.get(url)
    assert response.status_code == 200