protected function setUp() { parent::setUp(); $admin_user = $this->drupalCreateUser(array('administer modules', 'administer software updates', 'administer site configuration')); $this->drupalLogin($admin_user); // Create a local cache so the module is not downloaded from drupal.org. $cache_directory = _update_manager_cache_directory(TRUE); $validArchiveFile = __DIR__ . '/../../tests/update_test_new_module/8.x-1.0/update_test_new_module.tar.gz'; copy($validArchiveFile, $cache_directory . '/update_test_new_module.tar.gz'); }
protected function setUp() { parent::setUp(); $admin_user = $this->drupalCreateUser(array('administer site configuration', 'administer modules', 'administer themes')); $this->drupalLogin($admin_user); }
/** * {@inheritdoc} */ public function setUp() { parent::setUp(); }
public function setUp() { parent::setUp(); $admin_user = $this->drupalCreateUser(array('administer software updates', 'administer site configuration')); $this->drupalLogin($admin_user); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); }