aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-04-27 09:08:57 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-05-02 15:56:35 +0000
commitd47a81a38a439fe6f48c8b282dfde1f188acb08c (patch)
tree9901615267143f43b96ee144592a3e296e173fba /apps/user_ldap
parentc7accb30c16c2cc952acf859a888b0a8753546fa (diff)
downloadnextcloud-server-d47a81a38a439fe6f48c8b282dfde1f188acb08c.tar.gz
nextcloud-server-d47a81a38a439fe6f48c8b282dfde1f188acb08c.zip
Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/tests/Jobs/SyncTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/Jobs/SyncTest.php b/apps/user_ldap/tests/Jobs/SyncTest.php
index 8d23efb4da8..3d9fc54e631 100644
--- a/apps/user_ldap/tests/Jobs/SyncTest.php
+++ b/apps/user_ldap/tests/Jobs/SyncTest.php
@@ -43,7 +43,6 @@ use OCP\Notification\IManager;
use Test\TestCase;
class SyncTest extends TestCase {
-
/** @var array */
protected $arguments;
/** @var Helper|\PHPUnit\Framework\MockObject\MockObject */
@@ -99,7 +98,7 @@ class SyncTest extends TestCase {
'accessFactory' => $this->accessFactory,
];
- $this->sync = new Sync($this->userManager, $this->createMock(ITimeFactory::class));
+ $this->sync = new Sync($this->createMock(ITimeFactory::class));
}
public function intervalDataProvider() {