module GdsApi::TestHelpers::AccountApi

def stub_account_api_unauthorized_set_attributes(attributes: nil, **options)

def stub_account_api_unauthorized_set_attributes(attributes: nil, **options)
  stub_account_api_request(
    :patch,
    "/api/attributes",
    with: { body: hash_including({ attributes: }.compact) },
    response_status: 401,
    **options,
  )
end