tests/testthat/test_customerprofiles.R

svc <- paws::customerprofiles()

test_that("list_domains", {
  expect_error(svc$list_domains(), NA)
})

test_that("list_domains", {
  expect_error(svc$list_domains(MaxResults = 20), NA)
})

test_that("list_profile_object_type_templates", {
  expect_error(svc$list_profile_object_type_templates(), NA)
})

test_that("list_profile_object_type_templates", {
  expect_error(svc$list_profile_object_type_templates(MaxResults = 20), NA)
})

Try the paws.customer.engagement package in your browser

Any scripts or data that you put into this service are public.

paws.customer.engagement documentation built on Sept. 12, 2023, 1:19 a.m.