def METHOD_NAME(self):
    IdentityProvider.objects.create(type="slack", external_id="TXXXXXXX1", config={})
    with self.feature("organizations:discover-basic"):
        data = self.share_discover_links()
    blocks = json.loads(data["blocks"])
    assert blocks[0]["type"] == "section"
    assert (
        blocks[0]["text"]["text"]
        == "Link your Slack identity to Sentry to unfurl Discover charts."
    )
    assert blocks[1]["type"] == "actions"
    assert len(blocks[1]["elements"]) == 2
    assert [button["text"]["text"] for button in blocks[1]["elements"]] == ["Link", "Cancel"]