Esempio n. 1
0
 protected function setUp()
 {
     parent::setUp();
     $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
     $this->user = $this->drupalCreateUser(array('create page content', 'access content'));
     $this->drupalLogin($this->user);
     $this->test_node = $this->drupalCreateNode(array('type' => 'page', 'uid' => $this->user->id()));
 }