public function setUp() { parent::setUp(); $config = CoOrg::config(); $navigationLeft = array(0 => array('widgetID' => 'menu/menu', 'menu' => 'someMenu')); $config->set('aside/navigation-left', $navigationLeft); $navigationRight = array(); $config->set('aside/navigation-right', $navigationRight); $mainLeft = array(0 => 'user/login', 1 => 'blog/archive'); $config->set('aside/main', $mainLeft); }
public function setUp() { parent::setUp(); $bar = new SearchBar; $bar->title = 'Bar Title'; $bar->someOtherPrimary = 'The Primary'; $bar->body = 'Lorem Ipsum'; $bar->language = 'en'; $bar->save(); $foo = new SearchFoo; $foo->title = 'My Title'; $foo->someOtherPrimary = 'other-primary'; $foo->datePrimary = '2010-01-01'; $foo->body = 'Somewhere over the rainbow goes, tudeludoedoe <bold>This is some text that has to be searched</bold>'; $foo->barTitle = 'Bar Title'; $foo->barSomeOtherPrimary = 'The Primary'; $foo->identity = 'Keep Me As I am'; $foo->language = 'en'; $foo->save(); $tag = new Tagging; $tag->title = 'Some Title'; $tag->language = 'en'; $tag->body = 'Some Very Long body.'; $tag->save(); $tag->tag('Gamma'); $tag->tag('Alpha'); $tag->tag('Beta'); $tag = new Tagging; $tag->title = 'Some Other Title'; $tag->language = 'en'; $tag->body = 'Some Very short body.'; $tag->save(); $tag->tag('Aay'); $tag->tag('Bee'); $tag->tag('Cee'); }
public function setUp() { parent::setUp(); }
public function setUp() { parent::setUp(); Session::set('mollom/sessionid', 'new-sessionid'); Session::set('mollom/type', 'image'); }