Updating Media dependent modules to versions compatible with core Media.
[yaffs-website] / vendor / symfony / filesystem / Tests / LockHandlerTest.php
index 0791cebc694b84d7172fe30c45f3de87a75b9877..e0b2281e0552a22918733f324a7597ba47418469 100644 (file)
@@ -16,6 +16,9 @@ use Symfony\Component\Filesystem\Exception\IOException;
 use Symfony\Component\Filesystem\Filesystem;
 use Symfony\Component\Filesystem\LockHandler;
 
+/**
+ * @group legacy
+ */
 class LockHandlerTest extends TestCase
 {
     /**
@@ -49,7 +52,7 @@ class LockHandlerTest extends TestCase
             $this->markTestSkipped('This test cannot run on Windows.');
         }
 
-        $lockPath = sys_get_temp_dir().'/'.uniqid();
+        $lockPath = sys_get_temp_dir().'/'.uniqid('', true);
         $e = null;
         $wrongMessage = null;