function contextCase::ConfigSearchPaths

6.x contextTest.php contextCase::ConfigSearchPaths()
4.x contextTest.php contextCase::ConfigSearchPaths()
5.x contextTest.php contextCase::ConfigSearchPaths()

Assure that all possible config files get loaded.

1 call to contextCase::ConfigSearchPaths()
contextCase::testContext in tests/contextTest.php
These should be different tests but I could not work out how to do that without calling setup() twice. setupBeforeClass() did not work out (for MW).

File

tests/contextTest.php, line 85

Class

contextCase

Code

function ConfigSearchPaths() {
  $options = array(
    'pipe' => NULL,
    'config' => UNISH_SANDBOX,
    'root' => $this->root,
    'uri' => $this->env,
  );
  $this->drush('core-status', array('Drush configuration'), $options);
  $output = trim($this->getOutput());
  $loaded = explode(' ', $output);
  $this->assertSame($this->written, $loaded);
}