summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-03-20 13:38:52 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-20 14:25:43 +0100
commit1565177fb5d1b34187629f37b8bf2fc10b6efcb8 (patch)
treea8a498ad76e84c4efbab3f02af9779b9f5b5ef55 /lib/autoloader.php
parent450a899f012efd60ba83f8222116a0ca1a1facf9 (diff)
downloadnextcloud-server-1565177fb5d1b34187629f37b8bf2fc10b6efcb8.tar.gz
nextcloud-server-1565177fb5d1b34187629f37b8bf2fc10b6efcb8.zip
Revert "Add a magic wrapper to allow phpunit4 to run the code again "
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 3fff025080e..08188ef8e59 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -117,13 +117,6 @@ class Autoloader {
// This File is considered public API, so we make sure that the class
// can still be loaded, although the PSR-4 paths have not been loaded.
$paths[] = \OC::$SERVERROOT . '/tests/lib/TestCase.php';
-
- } elseif ($class === 'Test\\TestCasePhpUnitCompatibility') {
- $paths[] = \OC::$SERVERROOT . '/tests/lib/TestCasePhpUnitCompatibility.php';
- } elseif ($class === 'Test\\TestCasePhpUnit5') {
- $paths[] = \OC::$SERVERROOT . '/tests/lib/TestCasePhpUnit5.php';
- } elseif ($class === 'Test\\TestCasePhpUnit4') {
- $paths[] = \OC::$SERVERROOT . '/tests/lib/TestCasePhpUnit4.php';
}
return $paths;
}