def METHOD_NAME(self, mock_update_comment):
    self.login_as(user=self.user)
    url = self.url
    response = self.client.put(url, format="json")
    assert response.status_code == 400, response.content
    with self.tasks():
        with self.feature("organizations:integrations-issue-sync"):
            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", "external_id": "123"}
    assert mock_update_comment.call_count == 1
    assert mock_update_comment.call_args[0][0] == "123"
    assert mock_update_comment.call_args[0][1] == self.user.id
    assert mock_update_comment.call_args[0][2] == activity