Browse Source

Skipping another test for a feature that is missing in hhvm

Jose Lorenzo Rodriguez 11 years ago
parent
commit
684a32d67e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/TestCase/Core/ConfigureTest.php

+ 4 - 0
tests/TestCase/Core/ConfigureTest.php

@@ -141,6 +141,10 @@ class ConfigureTest extends TestCase
      */
     public function testDebugSettingDisplayErrors()
     {
+        $this->skipIf(
+            defined('HHVM_VERSION'),
+            'Cannot change display_errors at runtime in HHVM'
+        );
         Configure::write('debug', false);
         $result = ini_get('display_errors');
         $this->assertEquals(0, $result);