File: 0001-Fix-autoload-path-for-tests.patch

package info (click to toggle)
phpunit-comparator 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 324 kB
  • ctags: 369
  • sloc: php: 1,917; xml: 40; makefile: 18; sh: 5
file content (20 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Prach Pongpanich <prachpub@gmail.com>
Date: Thu, 11 Sep 2014 14:52:14 -0400
Subject: Fix autoload path for tests

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

diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 8f1c57c..55169f5 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -1,5 +1,5 @@
 <?php
-require __DIR__ . '/../vendor/autoload.php';
+require __DIR__ . '/../src/autoload.php';
 require __DIR__ . '/autoload.php';
 
 ini_set('precision', 14);