Beispiel #1
0
        public void Export_news()
        {
            DataMother.CreateNews(session);

            ExportCompressed();
            var files = ZipHelper.lsZip(file);

            Assert.IsTrue(files.Any(f => Regex.IsMatch(f, @"newses/\d+.html")), files.Implode());
        }
Beispiel #2
0
 public override void Execute(ISession session)
 {
     DataMother.CreateNews(session);
 }