Browse Source

ZF-11906: Remove references to ini key 'y2k_compliance' from Zend_Application test suite

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24805 44c647ce-9c0f-0410-b52a-842ac1e357ba
adamlundrigan 13 years ago
parent
commit
52eac139fd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/Zend/Application/ApplicationTest.php

+ 4 - 4
tests/Zend/Application/ApplicationTest.php

@@ -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()