aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/Migration/UUIDFixGroupTest.php')
-rw-r--r--apps/user_ldap/tests/Migration/UUIDFixGroupTest.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
new file mode 100644
index 00000000000..89d880f4acb
--- /dev/null
+++ b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
@@ -0,0 +1,30 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCA\User_LDAP\Tests\Migration;
+
+use OCA\User_LDAP\Group_Proxy;
+use OCA\User_LDAP\Mapping\GroupMapping;
+use OCA\User_LDAP\Migration\UUIDFixGroup;
+
+/**
+ * Class UUIDFixGroupTest
+ *
+ * @package OCA\Group_LDAP\Tests\Migration
+ * @group DB
+ */
+class UUIDFixGroupTest extends AbstractUUIDFixTestCase {
+ protected function setUp(): void {
+ $this->isUser = false;
+ parent::setUp();
+
+ $this->mapper = $this->createMock(GroupMapping::class);
+ $this->proxy = $this->createMock(Group_Proxy::class);
+
+ $this->instantiateJob(UUIDFixGroup::class);
+ }
+}