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

package info (click to toggle)
php-doctrine-annotations 1.2.0-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 712 kB
  • sloc: php: 6,046; makefile: 12; sh: 5
file content (21 lines) | stat: -rw-r--r-- 685 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: Thu, 29 May 2014 21:58:43 -0400
Subject: Use installed class for DEP-8 tests

Gbp: Topic DEP-8
---
 tests/Doctrine/Tests/TestInit.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/Doctrine/Tests/TestInit.php b/tests/Doctrine/Tests/TestInit.php
index 71064a2..4d9459c 100644
--- a/tests/Doctrine/Tests/TestInit.php
+++ b/tests/Doctrine/Tests/TestInit.php
@@ -25,7 +25,6 @@ $loader = new ClassLoader();
 $loader->setUseIncludePath(true);
 $loader->register();
 $loader->addPrefixes(array(
-	'Doctrine' => __DIR__.'/../../../lib',
 ));
 
 \Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(