Exemplo n.º 1
0
        public void CreateWidgetSqlContent(int sqlTypeId)
        {
            var sqlContent        = MockContent.CreateSqlContent(db);
            var expectedSqlTypeId = sqlTypeId;

            Assert.Equal(sqlContent.TypeID, expectedSqlTypeId);

            MockContent.DeleteHTMLContent(db, sqlContent);
        }
Exemplo n.º 2
0
        public void CreateWidgetHTMLContent(int htmlTypeId)
        {
            var htmlContent        = MockContent.CreateHTMLContent(db);
            var expectedHtmlTypeId = htmlTypeId;

            Assert.Equal(htmlContent.TypeID, expectedHtmlTypeId);

            MockContent.DeleteHTMLContent(db, htmlContent);
        }