Adapt Sync job tests to the constructor change

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/37903/head
Côme Chilliet 2023-04-27 09:08:57 +07:00
parent 429db14a00
commit 802363f0f6
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with 1 additions and 2 deletions

@ -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() {