diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-27 09:08:57 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-27 09:08:57 +0200 |
commit | 802363f0f60eeb9fecaed45051e929458e9eb849 (patch) | |
tree | b429d54d05fe61105a6ebf51adce3f3f83298c61 | |
parent | 429db14a00b893d55f2d4e5126c2fc68dfa6cc99 (diff) | |
download | nextcloud-server-802363f0f60eeb9fecaed45051e929458e9eb849.tar.gz nextcloud-server-802363f0f60eeb9fecaed45051e929458e9eb849.zip |
Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | apps/user_ldap/tests/Jobs/SyncTest.php | 3 |
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() { |