فهرست منبع

[HttpFoundation] Fixed test breaking on windows

Jordi Boggiano 14 سال پیش
والد
کامیت
30a8f4fd42
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      tests/Symfony/Tests/Component/HttpFoundation/File/MimeType/MimeTypeTest.php

+ 3 - 0
tests/Symfony/Tests/Component/HttpFoundation/File/MimeType/MimeTypeTest.php

@@ -59,6 +59,9 @@ class MimeTypeTest extends \PHPUnit_Framework_TestCase
 
     public function testGuessWithNonReadablePath()
     {
+        if (strstr(PHP_OS, 'WIN')) {
+            $this->markTestSkipped('Can not verify chmod operations on Windows');
+        }
         $path = __DIR__.'/../Fixtures/to_delete';
         touch($path);
         chmod($path, 0333);