diff options
Diffstat (limited to 'tests/lib/autoloader.php')
-rw-r--r-- | tests/lib/autoloader.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/autoloader.php b/tests/lib/autoloader.php index adea702eca9..3669f514bee 100644 --- a/tests/lib/autoloader.php +++ b/tests/lib/autoloader.php @@ -37,16 +37,16 @@ class AutoLoader extends TestCase { ], $this->loader->findClass('OC_Files')); } - public function testLoadTestNamespace() { + public function testLoadTestTestCase() { $this->assertEquals([ - \OC::$SERVERROOT . '/tests/lib/foo/bar.php' - ], $this->loader->findClass('Test\Foo\Bar')); + \OC::$SERVERROOT . '/tests/lib/TestCase.php' + ], $this->loader->findClass('Test\TestCase')); } - public function testLoadTest() { + public function testLoadTestNamespace() { $this->assertEquals([ \OC::$SERVERROOT . '/tests/lib/foo/bar.php' - ], $this->loader->findClass('Test_Foo_Bar')); + ], $this->loader->findClass('Test\Foo\Bar')); } public function testLoadCore() { |