File: Tests-against-installed-classes.patch

package info (click to toggle)
symfony 7.3.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 129,560 kB
  • sloc: php: 1,503,693; xml: 6,816; javascript: 1,043; sh: 586; makefile: 241; pascal: 70
file content (20 lines) | stat: -rw-r--r-- 911 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 30 Jul 2019 01:13:53 -0400
Subject: Tests against installed classes

---
 src/Symfony/Component/Cache/Tests/LockRegistryTest.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Symfony/Component/Cache/Tests/LockRegistryTest.php b/src/Symfony/Component/Cache/Tests/LockRegistryTest.php
index 7666279..5527fb5 100644
--- a/src/Symfony/Component/Cache/Tests/LockRegistryTest.php
+++ b/src/Symfony/Component/Cache/Tests/LockRegistryTest.php
@@ -24,6 +24,7 @@ class LockRegistryTest extends TestCase
         $lockFiles = LockRegistry::setFiles([]);
         LockRegistry::setFiles($lockFiles);
         $expected = array_map('realpath', glob(__DIR__.'/../Adapter/*.php'));
+        $expected = array_map('realpath', glob('/usr/share/php/Symfony/Component/Cache/Adapter/*.php'));
         $this->assertSame($expected, $lockFiles);
     }
 }