コード例 #1
0
 protected function setUp()
 {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer site configuration', 'administer modules', 'administer themes'));
     $this->drupalLogin($admin_user);
     $this->drupalPlaceBlock('local_actions_block');
 }
コード例 #2
0
 protected function setUp()
 {
     parent::setUp();
     $admin_user = $this->drupalCreateUser(array('administer site configuration'));
     $this->drupalLogin($admin_user);
 }