summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-19 08:44:41 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-19 08:44:41 +0200
commit995d4b7ecd27afb3a2388edf7cc2373104e4a66d (patch)
treef71b02de6f21beb6edca79148e69805d5ed8c84f /tests/lib
parentb1458d590dbd4bfbaf64c3429ec441a82c074f40 (diff)
downloadnextcloud-server-995d4b7ecd27afb3a2388edf7cc2373104e4a66d.tar.gz
nextcloud-server-995d4b7ecd27afb3a2388edf7cc2373104e4a66d.zip
Fix namespaces in tests/lib/groups/
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/group/backend.php4
-rw-r--r--tests/lib/group/database.php6
-rw-r--r--tests/lib/group/dummy.php6
-rw-r--r--tests/lib/group/metadatatest.php (renamed from tests/lib/group/metadata.php)2
4 files changed, 12 insertions, 6 deletions
diff --git a/tests/lib/group/backend.php b/tests/lib/group/backend.php
index 3b06a3eb3a9..53a13e6c62f 100644
--- a/tests/lib/group/backend.php
+++ b/tests/lib/group/backend.php
@@ -24,12 +24,14 @@
*
*/
+namespace Test\Group;
+
/**
* Class Test_Group_Backend
*
* @group DB
*/
-abstract class Test_Group_Backend extends \Test\TestCase {
+abstract class Backend extends \Test\TestCase {
/**
* @var \OC\Group\Backend $backend
*/
diff --git a/tests/lib/group/database.php b/tests/lib/group/database.php
index aae9f8bf1de..bf9d9c35b0b 100644
--- a/tests/lib/group/database.php
+++ b/tests/lib/group/database.php
@@ -23,12 +23,14 @@
*
*/
+namespace Test\Group;
+
/**
- * Class Test_Group_Database
+ * Class Database
*
* @group DB
*/
-class Test_Group_Database extends Test_Group_Backend {
+class Database extends Backend {
private $groups = array();
/**
diff --git a/tests/lib/group/dummy.php b/tests/lib/group/dummy.php
index eaa299c39af..5504cd63a0a 100644
--- a/tests/lib/group/dummy.php
+++ b/tests/lib/group/dummy.php
@@ -20,12 +20,14 @@
*
*/
+namespace Test\Group;
+
/**
- * Class Test_Group_Dummy
+ * Class Dummy
*
* @group DB
*/
-class Test_Group_Dummy extends Test_Group_Backend {
+class Dummy extends Backend {
protected function setUp() {
parent::setUp();
$this->backend=new \Test\Util\Group\Dummy();
diff --git a/tests/lib/group/metadata.php b/tests/lib/group/metadatatest.php
index 233463c71eb..593bbcb48db 100644
--- a/tests/lib/group/metadata.php
+++ b/tests/lib/group/metadatatest.php
@@ -22,7 +22,7 @@
namespace Test\Group;
-class Test_MetaData extends \Test\TestCase {
+class MetaDataTest extends \Test\TestCase {
/** @var \OC\Group\Manager */
private $groupManager;
/** @var \OCP\IUserSession */