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() {
$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();
}