File
- drupal/core/vendor/phpunit/phpunit/Tests/Util/ConfigurationTest.php, line 246
Class
- Util_ConfigurationTest
- @package PHPUnit
@author Sebastian Bergmann <sebastian@phpunit.de>
@copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de>
@license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
@link …
Code
public function testPHPConfigurationIsReadCorrectly() {
$this
->assertEquals(array(
'include_path' => array(
dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR . '.',
'/path/to/lib',
),
'ini' => array(
'foo' => 'bar',
),
'const' => array(
'FOO' => FALSE,
'BAR' => TRUE,
),
'var' => array(
'foo' => FALSE,
),
'env' => array(
'foo' => TRUE,
),
'post' => array(
'foo' => 'bar',
),
'get' => array(
'foo' => 'bar',
),
'cookie' => array(
'foo' => 'bar',
),
'server' => array(
'foo' => 'bar',
),
'files' => array(
'foo' => 'bar',
),
'request' => array(
'foo' => 'bar',
),
), $this->configuration
->getPHPConfiguration());
}