]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use proper test name
authorLukas Reschke <lukas@owncloud.com>
Fri, 19 Dec 2014 18:42:39 +0000 (19:42 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 5 Jan 2015 08:54:14 +0000 (09:54 +0100)
tests/lib/connector/sabre/principal.php

index 74217cce7b704cb67bffc2f277440e7d25327759..5d13aa4421ea5943cfd7688bdd7216ff67c78354 100644 (file)
@@ -12,14 +12,13 @@ namespace Test\Connector\Sabre;
 
 use OCP\IUserManager;
 use OCP\IConfig;
-use OC\Connector\Sabre\Principal;
 
-class Test_Principal extends \Test\TestCase {
+class Principal extends \Test\TestCase {
        /** @var IUserManager */
        private $userManager;
        /** @var IConfig */
        private $config;
-       /** @var Principal */
+       /** @var \OC\Connector\Sabre\Principal */
        private $connector;
 
        public function setUp() {
@@ -28,7 +27,7 @@ class Test_Principal extends \Test\TestCase {
                $this->config = $this->getMockBuilder('\OCP\IConfig')
                        ->disableOriginalConstructor()->getMock();
 
-               $this->connector = new Principal($this->config, $this->userManager);
+               $this->connector = new \OC\Connector\Sabre\Principal($this->config, $this->userManager);
                parent::setUp();
        }