Пример #1
0
        public void CampaignDelete_Successful()
        {
            // Arrange
            MailChimpManager   mc        = new MailChimpManager(TestGlobal.Test_APIKey);
            CampaignListResult campaigns = mc.GetCampaigns();
            //Act
            CampaignActionResult result = mc.DeleteCampaign(campaigns.Data[0].Id);

            // Assert
            Assert.IsTrue(result.Complete);
        }
Пример #2
0
 public void CampaignDelete_Successful()
 {
     // Arrange
     MailChimpManager mc = new MailChimpManager(TestGlobal.Test_APIKey);
     CampaignListResult campaigns = mc.GetCampaigns();
     //Act
     CampaignActionResult result = mc.DeleteCampaign(campaigns.Data[0].Id);
     // Assert
     Assert.IsTrue(result.Complete);
 }