]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adapt Sync job tests to the constructor change
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 27 Apr 2023 07:08:57 +0000 (09:08 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 27 Apr 2023 07:08:57 +0000 (09:08 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/user_ldap/tests/Jobs/SyncTest.php

index 8d23efb4da83ae796c5c2e506a6b09aa481ddfde..3d9fc54e631640acec11c6a60aada5f56a3dd167 100644 (file)
@@ -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() {