static function completeCase::setUpBeforeClass

8.0.x completeTest.php static completeCase::setUpBeforeClass()
6.x completeTest.php static completeCase::setUpBeforeClass()
7.x completeTest.php static completeCase::setUpBeforeClass()
5.x completeTest.php static completeCase::setUpBeforeClass()
master completeTest.php static completeCase::setUpBeforeClass()

Write a config file that contains our configuration file.

Overrides Drush_TestCase::setUpBeforeClass

File

tests/completeTest.php, line 10

Class

completeCase
@group base

Code

static function setUpBeforeClass() {
  parent::setUpBeforeClass();
  $contents = "
      <?php

      \$options['shell-aliases'] = array(
        'uninstall' => 'pm-uninstall',
      );
    ";
  file_put_contents(UNISH_SANDBOX . '/drushrc.php', trim($contents));
}