diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-23 11:41:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 11:41:21 +0200 |
commit | 8d599c341023c5fe850da9bdbc3807a277a61151 (patch) | |
tree | bed44e448d398db054b4a6e8ed1a6102ef49d288 /tests | |
parent | 384efc8958ab9bf1738e4fd5925c8b3e451c3f0f (diff) | |
parent | 9ec0cb0a90ecdc7f4181ce8399bfe0c3a35842a2 (diff) | |
download | nextcloud-server-8d599c341023c5fe850da9bdbc3807a277a61151.tar.gz nextcloud-server-8d599c341023c5fe850da9bdbc3807a277a61151.zip |
Merge pull request #32378 from nextcloud/fix/psalm-userbackend
Fix psalm issues related to the user backend
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/User/ManagerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/User/ManagerTest.php b/tests/lib/User/ManagerTest.php index c8c1430d583..2536eee8441 100644 --- a/tests/lib/User/ManagerTest.php +++ b/tests/lib/User/ManagerTest.php @@ -609,7 +609,7 @@ class ManagerTest extends TestCase { public function testCountUsersOnlySeen() { $manager = \OC::$server->getUserManager(); // count other users in the db before adding our own - $countBefore = $manager->countUsers(true); + $countBefore = $manager->countSeenUsers(); //Add test users $user1 = $manager->createUser('testseencount1', 'testseencount1'); @@ -623,7 +623,7 @@ class ManagerTest extends TestCase { $user4 = $manager->createUser('testseencount4', 'testseencount4'); $user4->updateLastLoginTimestamp(); - $this->assertEquals($countBefore + 3, $manager->countUsers(true)); + $this->assertEquals($countBefore + 3, $manager->countSeenUsers()); //cleanup $user1->delete(); |