diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-19 16:50:32 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-05 09:54:14 +0100 |
commit | 0ed00bca439b73c53f145e2e1bf83d6b32d98623 (patch) | |
tree | 6a5e2f7dbee4886acbec22c86abca901585bb704 /tests | |
parent | 556c9b6f460d462ff22f886ff678d4d4299b871c (diff) | |
download | nextcloud-server-0ed00bca439b73c53f145e2e1bf83d6b32d98623.tar.gz nextcloud-server-0ed00bca439b73c53f145e2e1bf83d6b32d98623.zip |
Use namespace
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/connector/sabre/principal.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/lib/connector/sabre/principal.php b/tests/lib/connector/sabre/principal.php index 77edf0113ba..91e74dae047 100644 --- a/tests/lib/connector/sabre/principal.php +++ b/tests/lib/connector/sabre/principal.php @@ -8,15 +8,17 @@ * See the COPYING-README file. */ +namespace OC\Connector\Sabre; + use OCP\IUserManager; use OCP\IConfig; -class Test_OC_Connector_Sabre_Principal extends \Test\TestCase { +class Test_Principal extends \Test\TestCase { /** @var IUserManager */ private $userManager; /** @var IConfig */ private $config; - /** @var OC_Connector_Sabre_Principal */ + /** @var Principal */ private $connector; public function setUp() { @@ -25,7 +27,7 @@ class Test_OC_Connector_Sabre_Principal extends \Test\TestCase { $this->config = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor()->getMock(); - $this->connector = new OC_Connector_Sabre_Principal($this->config, $this->userManager); + $this->connector = new Principal($this->config, $this->userManager); parent::setUp(); } |