protected function setUp()
 {
     parent::setUp();
     $this->user = $this->createAdmin();
     $this->history = $this->user->history();
     $this->page = $this->site->children()->create('test', 'test');
 }
 public function setUp()
 {
     parent::setUp();
     $this->user = $this->createAdmin();
     $this->page = $this->site->children()->create('test', 'test');
     $this->structure = $this->page->structure()->forField('testfield');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->user = $this->createAdmin();
     $this->user->login('test');
     $this->page = $this->site->children()->create('test', 'test');
     f::copy($this->roots->dummy . DS . 'images' . DS . 'forrest.jpg', $this->page->root() . DS . '1.jpg');
     f::copy($this->roots->dummy . DS . 'images' . DS . 'forrest.jpg', $this->page->root() . DS . '2.jpg');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->createAdmin('homer')->login('test');
     $this->createAdmin('marge');
     $this->createEditor('lisa');
     $this->createEditor('bart');
     $projects = $this->site->children()->create('projects', 'projects', array('title' => 'Projects'));
     $projects->children()->create('project-a', 'project', array('title' => 'Project A', 'tags' => 'design, photography'));
     $projects->children()->create('project-b', 'project', array('title' => 'Project B', 'tags' => 'photography, architecture'));
     $projects->children()->create('project-c', 'project', array('title' => 'Project C', 'tags' => 'architecture, illustration'));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->user = $this->createAdmin();
     $this->user->login('test');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->createAdmin();
 }