summaryrefslogtreecommitdiffstats
path: root/tests/lib/autoloader.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/autoloader.php')
-rw-r--r--tests/lib/autoloader.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/autoloader.php b/tests/lib/autoloader.php
index 5268ef424d3..3669f514bee 100644
--- a/tests/lib/autoloader.php
+++ b/tests/lib/autoloader.php
@@ -37,6 +37,12 @@ class AutoLoader extends TestCase {
], $this->loader->findClass('OC_Files'));
}
+ public function testLoadTestTestCase() {
+ $this->assertEquals([
+ \OC::$SERVERROOT . '/tests/lib/TestCase.php'
+ ], $this->loader->findClass('Test\TestCase'));
+ }
+
public function testLoadTestNamespace() {
$this->assertEquals([
\OC::$SERVERROOT . '/tests/lib/foo/bar.php'