Example #1
0
        public async Task Should_Delete_WikiPage()
        {
            try
            {
                await redmineManager.DeleteWikiPageAsync(projectId, wikiPageName);

                WikiPage page = await redmineManager.GetWikiPageAsync(projectId, null, wikiPageName);
            }
            catch (RedmineException exc)
            {
                StringAssert.Contains(exc.Message, "Not Found");
                return;
            }
            Assert.Fail("Test failed");
        }