aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/locking.php4
-rw-r--r--apps/files_sharing/tests/testcase.php2
-rw-r--r--apps/files_versions/tests/versions.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/tests/locking.php b/apps/files_sharing/tests/locking.php
index 6d13fc1cda5..269c924d142 100644
--- a/apps/files_sharing/tests/locking.php
+++ b/apps/files_sharing/tests/locking.php
@@ -30,7 +30,7 @@ use OCP\Lock\ILockingProvider;
class Locking extends TestCase {
/**
- * @var \OC_User_Dummy
+ * @var \Test\Util\User\Dummy
*/
private $userBackend;
@@ -40,7 +40,7 @@ class Locking extends TestCase {
public function setUp() {
parent::setUp();
- $this->userBackend = new \OC_User_Dummy();
+ $this->userBackend = new \Test\Util\User\Dummy();
\OC::$server->getUserManager()->registerBackend($this->userBackend);
$this->ownerUid = $this->getUniqueID('owner_');
diff --git a/apps/files_sharing/tests/testcase.php b/apps/files_sharing/tests/testcase.php
index 7533b13f79d..c91734a5b03 100644
--- a/apps/files_sharing/tests/testcase.php
+++ b/apps/files_sharing/tests/testcase.php
@@ -72,7 +72,7 @@ abstract class TestCase extends \Test\TestCase {
\OC::registerShareHooks();
// create users
- $backend = new \OC_User_Dummy();
+ $backend = new \Test\Util\User\Dummy();
\OC_User::useBackend($backend);
$backend->createUser(self::TEST_FILES_SHARING_API_USER1, self::TEST_FILES_SHARING_API_USER1);
$backend->createUser(self::TEST_FILES_SHARING_API_USER2, self::TEST_FILES_SHARING_API_USER2);
diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/versions.php
index 7cca409ed6c..da214ead60a 100644
--- a/apps/files_versions/tests/versions.php
+++ b/apps/files_versions/tests/versions.php
@@ -749,7 +749,7 @@ class Test_Files_Versioning extends \Test\TestCase {
public static function loginHelper($user, $create = false) {
if ($create) {
- $backend = new \OC_User_Dummy();
+ $backend = new \Test\Util\User\Dummy();
$backend->createUser($user, $user);
\OC::$server->getUserManager()->registerBackend($backend);
}