File: 0004-Adapt-to-actual-ConsoleTools-path.patch

package info (click to toggle)
php-zeta-console-tools 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,096 kB
  • ctags: 2,859
  • sloc: php: 15,140; xml: 3,111; makefile: 11
file content (21 lines) | stat: -rw-r--r-- 859 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sun, 28 Sep 2014 16:40:08 -0400
Subject: Adapt to actual ConsoleTools path

---
 tests/statusbar_test.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/statusbar_test.php b/tests/statusbar_test.php
index 5108e5b..490e7d3 100644
--- a/tests/statusbar_test.php
+++ b/tests/statusbar_test.php
@@ -343,7 +343,7 @@ class ezcConsoleStatusbarTest extends ezcTestCase
     public function catchWarning( $errno, $errstr, $errfile, $errline, $errcontext )
     {
         $this->assertEquals( "Unknown status 'foo'.", $errstr );
-        $this->assertEquals( realpath( dirname( __FILE__ ) . "/../src/statusbar.php" ), $errfile );
+        $this->assertEquals( realpath( "/usr/share/php/ezc/ConsoleTools/statusbar.php" ), $errfile );
         $this->errorCaught = true;
     }
 }