def METHOD_NAME(self):
    homepage_query_payload = {
        "version": 2,
        "name": "",
        "projects": self.project_ids,
        "environment": ["alpha"],
        "fields": ["environment", "platform.name"],
        "orderby": "-timestamp",
        "range": None,
    }
    with self.feature(FEATURES):
        response = self.client.put(self.url, data=homepage_query_payload)
    assert response.status_code == 201, response.content
    new_query = DiscoverSavedQuery.objects.get(
        created_by_id=self.user.id, organization=self.org, is_homepage=True
    )
    assert new_query.name == ""
    assert response.data["name"] == ""