Exemple #1
0
        public async Task Should_Get_Page_By_Name()
        {
            WikiPage page = await redmineManager.GetWikiPageAsync(projectId, new NameValueCollection { { "include", "attachments" } }, wikiPageName);

            Assert.IsNotNull(page, "Wiki page returned is null.");
            Assert.IsTrue(page.Title == wikiPageName, "Wiki page " + wikiPageName + " does not exist.");
        }