Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc authored and backportbot-nextcloud[bot] committed May 2, 2023
commit d47a81a38a439fe6f48c8b282dfde1f188acb08c
3 changes: 1 addition & 2 deletions apps/user_ldap/tests/Jobs/SyncTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
use Test\TestCase;

class SyncTest extends TestCase {

/** @var array */
protected $arguments;
/** @var Helper|\PHPUnit\Framework\MockObject\MockObject */
Expand Down Expand Up @@ -99,7 +98,7 @@ protected function setUp(): void {
'accessFactory' => $this->accessFactory,
];

$this->sync = new Sync($this->userManager, $this->createMock(ITimeFactory::class));
$this->sync = new Sync($this->createMock(ITimeFactory::class));
}

public function intervalDataProvider() {
Expand Down