summaryrefslogtreecommitdiffstats
path: root/Horde_Test-rpm.patch
blob: e914b2694f4aade5ef5fa46a3fa7e3a097db2a24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -up Horde_Test-2.4.1/lib/Horde/Test/Autoload.php.rpm Horde_Test-2.4.1/lib/Horde/Test/Autoload.php
--- Horde_Test-2.4.1/lib/Horde/Test/Autoload.php.rpm	2014-05-06 14:15:13.781403553 +0200
+++ Horde_Test-2.4.1/lib/Horde/Test/Autoload.php	2014-05-06 14:16:25.522649055 +0200
@@ -41,11 +41,7 @@ class Horde_Test_Autoload
             return;
         }
 
-        if (file_exists(__DIR__ . '/vendor/autoload.php')) {
-            require __DIR__ . '/vendor/autoload.php';
-        } else {
-            require __DIR__ . '/../../../bundle/vendor/autoload.php';
-        }
+        require_once '/usr/share/php/PHPUnit/Autoload.php';
 
         spl_autoload_register(
             function($class) {