testDispatchUsingAlias_script.php

  1. 8.0.x tests/resources/testDispatchUsingAlias_script.php
  2. 7.x tests/resources/testDispatchUsingAlias_script.php
  3. master tests/resources/testDispatchUsingAlias_script.php

File

tests/resources/testDispatchUsingAlias_script.php
View source
  1. <?php
  2. $valuesUsingAlias = drush_invoke_process("@dev", "unit-return-argv", array(), array(), array("dispatch-using-alias" => TRUE));
  3. $valuesWithoutAlias = drush_invoke_process("@dev", "unit-return-argv", array(), array(), array());
  4. return array('with' => $valuesUsingAlias['object'], 'without' => $valuesWithoutAlias['object']);