public function Util_ConfigurationTest::testPHPConfigurationIsReadCorrectly in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Util/ConfigurationTest.php \Util_ConfigurationTest::testPHPConfigurationIsReadCorrectly()
@covers PHPUnit_Util_Configuration::getPHPConfiguration
File
- vendor/
phpunit/ phpunit/ tests/ Util/ ConfigurationTest.php, line 267
Class
- Util_ConfigurationTest
- @since Class available since Release 3.3.0
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());
}