File: Use-installed-class-for-DEP-8-tests.patch

package info (click to toggle)
php-analog 1.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 424 kB
  • ctags: 232
  • sloc: php: 875; makefile: 12; sh: 5
file content (34 lines) | stat: -rw-r--r-- 916 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
22
23
24
25
26
27
28
29
30
31
32
33
34
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Thu, 19 Mar 2015 18:24:16 -0400
Subject: Use installed class for DEP-8 tests

---
 tests/AnalogTest.php       | 2 +-
 tests/PsrLogCompatTest.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/AnalogTest.php b/tests/AnalogTest.php
index e856b0e..895ace2 100644
--- a/tests/AnalogTest.php
+++ b/tests/AnalogTest.php
@@ -1,6 +1,6 @@
 <?php
 
-require_once ('lib/Analog.php');
+require_once ('Analog.php');
 
 class AnalogTest extends PHPUnit_Framework_TestCase {
 	public static $log = '';
diff --git a/tests/PsrLogCompatTest.php b/tests/PsrLogCompatTest.php
index 2967094..ea1a3c8 100644
--- a/tests/PsrLogCompatTest.php
+++ b/tests/PsrLogCompatTest.php
@@ -2,7 +2,7 @@
 
 date_default_timezone_set ('GMT');
 
-require_once ('lib/Analog.php');
+require_once ('Analog.php');
 
 use Analog\Logger;
 use Analog\Handler\Variable;