File: 0001-Adapt-to-installed-path.patch

package info (click to toggle)
php-symfony-polyfill 1.33.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 8,520 kB
  • sloc: php: 127,232; makefile: 69
file content (22 lines) | stat: -rw-r--r-- 809 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 2 Dec 2020 09:46:55 -0400
Subject: Adapt to installed path

Forwarded: not-needed
---
 tests/Intl/Icu/CurrenciesTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Intl/Icu/CurrenciesTest.php b/tests/Intl/Icu/CurrenciesTest.php
index 291bbcb..cbdf075 100644
--- a/tests/Intl/Icu/CurrenciesTest.php
+++ b/tests/Intl/Icu/CurrenciesTest.php
@@ -20,7 +20,7 @@ class CurrenciesTest extends TestCase
 {
     public function testMetadata()
     {
-        $dataDir = \dirname(__DIR__, 3).'/vendor/symfony/intl/Resources/data/currencies/';
+        $dataDir = '/usr/share/php/Symfony/Component/Intl/Resources/data/currencies/';
 
         if (is_file($dataDir.'en.php')) {
             $en = require $dataDir.'en.php';