Skip to content

Commit ead4873

Browse files
artongeAltahrim
authored andcommitted
fix(tests): UserManager constructor arguments
After #48283 Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent c915c07 commit ead4873

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/lib/User/ManagerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testUserExistsSingleBackendNotExists() {
9696
}
9797

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

101101
$this->assertFalse($manager->userExists('foo'));
102102
}
@@ -430,7 +430,7 @@ public function testCreateUserSingleBackendNotSupported() {
430430
}
431431

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

435435
$this->assertFalse($manager->createUser('foo', 'bar'));
436436
}
@@ -498,7 +498,7 @@ public function testCreateUserTwoBackendExists() {
498498
}
499499

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

503503
$result = $manager->countUsers();
504504
$this->assertTrue(is_array($result));

0 commit comments

Comments
 (0)