Skip to content

Commit

Permalink
fix(tests): UserManager constructor arguments
Browse files Browse the repository at this point in the history
After #48283

Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge authored and Altahrim committed Oct 2, 2024
1 parent c915c07 commit ead4873
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lib/User/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function testUserExistsSingleBackendNotExists() {
}

public function testUserExistsNoBackends() {
$manager = new \OC\User\Manager($this->config, $this->cacheFactory, $this->eventDispatcher);
$manager = new \OC\User\Manager($this->config, $this->cacheFactory, $this->eventDispatcher, $this->logger);

$this->assertFalse($manager->userExists('foo'));
}
Expand Down Expand Up @@ -430,7 +430,7 @@ public function testCreateUserSingleBackendNotSupported() {
}

public function testCreateUserNoBackends() {
$manager = new \OC\User\Manager($this->config, $this->cacheFactory, $this->eventDispatcher);
$manager = new \OC\User\Manager($this->config, $this->cacheFactory, $this->eventDispatcher, $this->logger);

$this->assertFalse($manager->createUser('foo', 'bar'));
}
Expand Down Expand Up @@ -498,7 +498,7 @@ public function testCreateUserTwoBackendExists() {
}

public function testCountUsersNoBackend() {
$manager = new \OC\User\Manager($this->config, $this->cacheFactory, $this->eventDispatcher);
$manager = new \OC\User\Manager($this->config, $this->cacheFactory, $this->eventDispatcher, $this->logger);

$result = $manager->countUsers();
$this->assertTrue(is_array($result));
Expand Down

0 comments on commit ead4873

Please sign in to comment.