summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 08188ef8e59..3fff025080e 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -117,6 +117,13 @@ 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;
}