public function pmUpdateCode::setUp

8.0.x pmUpdateCodeTest.php public pmUpdateCode::setUp()
6.x pmUpdateCodeTest.php public pmUpdateCode::setUp()
7.x pmUpdateCodeTest.php public pmUpdateCode::setUp()
4.x pmUpdateCodeTest.php public pmUpdateCode::setUp()
5.x pmUpdateCodeTest.php public pmUpdateCode::setUp()
master pmUpdateCodeTest.php public pmUpdateCode::setUp()

File

tests/pmUpdateCodeTest.php, line 15
Prepare a codebase and upgrade it in several stages, exercising updatecode's filters. @todo test security-only once one of these modules or core gets a security release.

Class

pmUpdateCode

Code

public function setUp() {
  $this->setUpDrupal('dev', TRUE, '7.0-rc3');
  $options = array(
    'root' => $this->sites['dev']['root'],
    'uri' => 'dev',
    'yes' => NULL,
    'quiet' => NULL,
  );
  $this->drush('pm-download', array('devel-7.x-1.0-rc1,webform-7.x-3.4-beta1'), $options);
  $this->drush('pm-enable', array('menu', 'devel', 'webform'), $options);
}