Explorar el Código

ZF-4622
Zend_View
Adapted unit test from ZF-9000 to apply to ZF-4622 by removing Windows-only constraint


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24076 44c647ce-9c0f-0410-b52a-842ac1e357ba

adamlundrigan hace 14 años
padre
commit
da43b2eb02
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      tests/Zend/ViewTest.php

+ 2 - 4
tests/Zend/ViewTest.php

@@ -1135,12 +1135,10 @@ class Zend_ViewTest extends PHPUnit_Framework_TestCase
 
     /**
      * @group ZF-9000
+	 * @group ZF-4622
      */
-    public function testAddingStreamSchemeAsScriptPathShouldNotReverseSlashesOnWindows()
+    public function testAddingStreamSchemeAsScriptPathShouldNotMangleThePath()
     {
-        if (false === strstr(strtolower(PHP_OS), 'windows')) {
-            $this->markTestSkipped('Windows-only test');
-        }
     	$view = new Zend_View();
         $path = rtrim('file://' . str_replace('\\', '/', realpath(dirname(__FILE__))), '/') . '/';
         $view->addScriptPath($path);