def METHOD_NAME(client, published_json, headers):
    """Tests the links for a search of published RDM records."""
    response = client.get("/records", headers=headers)
    search_record_links = response.json["links"]
    expected_links = {
        # NOTE: Variations are covered in records-resources
        "self": "https://127.0.0.1:5000/api/records?page=1&size=25&sort=newest"
    }
    assert expected_links == search_record_links