def METHOD_NAME(self, mock_update_comment):
    del self.activity.data["external_id"]
    self.activity.save()
    self.login_as(user=self.user)
    url = self.url
    response = self.client.put(url, format="json")
    assert response.status_code == 400, response.content
    response = self.client.put(url, format="json", data={"text": "hi haters"})
    assert response.status_code == 200, response.content
    activity = Activity.objects.get(id=response.data["id"])
    assert activity.user_id == self.user.id
    assert activity.group == self.group
    assert activity.data == {"text": "hi haters"}
    assert mock_update_comment.call_count == 0