protected function setUp()
 {
     parent::setUp();
     // Add a new menu entity which does not has a view controller.
     $this->menu = entity_create('menu', array('id' => 'menu_name', 'label' => 'Label', 'description' => 'Description text'));
     $this->menu->save();
 }
예제 #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->image = $this->getTestFile('image');
     $this->file = $this->getTestFile('text');
 }
예제 #3
0
 protected function setUp()
 {
     parent::setUp();
     $this->state = $this->container->get('state');
 }