tests/testthat/test_delete_event_subscription.R

context("Delete event subscription")

testthat::test_that("delete_event_subscription() works", {
  # The real test is in test_execute_event_subscription.R
  vcr::skip_if_vcr_off()
  subscriptionId <- 270
  vcr::use_cassette("delete_event_subscription", {
    res <- delete_event_subscription(subscriptionId, env = "staging")
  })
  expect_true(res)
})

Try the EDIutils package in your browser

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

EDIutils documentation built on Oct. 11, 2023, 1:08 a.m.