Exemplo n.º 1
0
        public void Can_Add_Dashboards()
        {
            Uninstaller.RemoveSectionDashboard();
            Assert.True(Installer.AddSectionDashboard());
            Assert.True(Installer.AddContentSectionDashboard());

            // installing when dashboards exist will fail
            Assert.False(Installer.AddSectionDashboard());
            Assert.False(Installer.AddContentSectionDashboard());
        }