public void Can_Add_Section() { // delete it if it exists, before running installer Section section = _sectionService.GetByAlias("workflow"); if (section != null) { _sectionService.DeleteSection(section); } Assert.Null(_sectionService.GetByAlias("workflow")); var install = new Workflow.Helpers.Installer(); Assert.True(install.AddSection(ApplicationContext.Current)); }
public void Can_Add_Content_Section_Dashboard() { var install = new Workflow.Helpers.Installer(); Assert.True(install.AddContentSectionDashboard()); }