def METHOD_NAME(running_app, client_with_login, minimal_record, headers):
    """RDM Record fixture.
    Can't depend on draft_json since publication deletes draft.
    """
    response = client_with_login.post("/records", json=minimal_record, headers=headers)
    pid_value = response.json["id"]
    response = client_with_login.post(
        f"/records/{pid_value}/draft/actions/publish", headers=headers
    )
    RDMRecord.index.refresh()
    return response.json