def METHOD_NAME(
    rating, question, question_ct, apiclient
):
    question = rating.content_object
    apiclient.force_authenticate(user=rating.creator)
    data = {"value": -10}
    url = reverse(
        "ratings-detail",
        kwargs={
            "pk": rating.pk,
            "content_type": question_ct.pk,
            "object_pk": question.pk,
        },
    )
    with active_phase(question.module, RatePhase):
        response = apiclient.patch(url, data, format="json")
        assert response.status_code == status.HTTP_200_OK
        assert response.data["value"] == -1