Пример #1
0
 public function setUp()
 {
     Listr::setConfig($this->blogConfig);
     $this->filters = Listr::getFilters('blog');
 }
Пример #2
0
 /**
  * Filter cannot be created without label
  */
 public function testFilterCannotBeCreatedWithoutLabel()
 {
     $this->setExpectedException('Exception', "Label needed for filter 'content'.");
     Listr::setConfig($this->configWithFilterWithoutLabel);
 }