module GdsApi::TestHelpers::PublishingApiV2

def assert_publishing_api_unpublish(content_id, attributes_or_matcher = nil, times = 1)

Parameters:
  • times (Integer) --
  • attributes_or_matcher (Object) --
  • content_id (UUID) --
def assert_publishing_api_unpublish(content_id, attributes_or_matcher = nil, times = 1)
  url = PUBLISHING_API_V2_ENDPOINT + "/content/#{content_id}/unpublish"
  assert_publishing_api(:post, url, attributes_or_matcher, times)
end