mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
429db14a00
commit
802363f0f6
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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue