|
|
@@ -164,15 +164,15 @@ class Zend_Application_ApplicationTest extends PHPUnit_Framework_TestCase
|
|
|
|
|
|
public function testPassingPhpSettingsSetsIniValues()
|
|
|
{
|
|
|
- $this->iniOptions[] = 'y2k_compliance';
|
|
|
- $orig = ini_get('y2k_compliance');
|
|
|
+ $this->iniOptions[] = 'html_errors';
|
|
|
+ $orig = ini_get('html_errors');
|
|
|
$expected = $orig ? 0 : 1;
|
|
|
$this->application->setOptions(array(
|
|
|
'phpSettings' => array(
|
|
|
- 'y2k_compliance' => $expected,
|
|
|
+ 'html_errors' => $expected,
|
|
|
),
|
|
|
));
|
|
|
- $this->assertEquals($expected, ini_get('y2k_compliance'));
|
|
|
+ $this->assertEquals($expected, ini_get('html_errors'));
|
|
|
}
|
|
|
|
|
|
public function testPassingPhpSettingsAsArrayShouldConstructDotValuesAndSetRelatedIniValues()
|