summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-10-22 11:25:33 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-10-23 12:25:31 +0200
commit86e5e7d9274241b0373bfa494896534b251e1978 (patch)
tree93bf7a5cee299889b8143304537265b1a5553b33 /apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
parent872f03209cccd376c0be908581164f245e558070 (diff)
downloadnextcloud-server-86e5e7d9274241b0373bfa494896534b251e1978.tar.gz
nextcloud-server-86e5e7d9274241b0373bfa494896534b251e1978.zip
LDAP simplify User_Proxy and Group_Proxy signatures
- make User_Proxy and Group_Proxy easy to instantiate - simplify dependent code - move commands to info.xml - make UpdateGroups job class non-static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/tests/Migration/UUIDFixGroupTest.php')
-rw-r--r--apps/user_ldap/tests/Migration/UUIDFixGroupTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
index a1f04d44670..fb9d2e2331c 100644
--- a/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
+++ b/apps/user_ldap/tests/Migration/UUIDFixGroupTest.php
@@ -40,11 +40,9 @@ class UUIDFixGroupTest extends AbstractUUIDFixTest {
$this->isUser = false;
parent::setUp();
- $this->isUser = false;
-
$this->mapper = $this->createMock(GroupMapping::class);
+ $this->proxy = $this->createMock(Group_Proxy::class);
- $this->mockProxy(Group_Proxy::class);
$this->instantiateJob(UUIDFixGroup::class);
}
}