Commit Graph

23 Commits (1f42657bb9ea76353fbc02ee100cff5755b6384d)

Author SHA1 Message Date
Roeland Jago Douma 68ec18323d Fix types in the Group Manager 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Robin Appelman aa83b0b22d
dont get the group details if we only ask for the id 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 3a415e4139
Remove space between switch case and colon 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Arthur Schiwon 7b1eedb11e
take group creation result into consideration 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects 7 years ago
Joas Schilling 80d2717e5c
Fix 5.6 duplicate class import 9 years ago
Joas Schilling ebabf81473
Clean up the test 9 years ago
Joas Schilling bd97b7d130
Use DI 9 years ago
Vincent Petry 377fdf3860
Skip null groups in group manager (#26871) (#26956) 9 years ago
Arthur Schiwon 91a1e5fd9d
fix more tests 9 years ago
Vincent Petry 453f3beffa
Adding group display name support 9 years ago
Roeland Jago Douma 4ebf001b2e
Improve ManagerTest 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Roeland Douma 5c9103287f Group fixup (#24621) 10 years ago
Roeland Jago Douma dd7e0d13e5
Move the group dummy backend to test 10 years ago
Joas Schilling 292dc553c3 Make sure that group names are strings not integers 10 years ago
Morris Jobke 717723b83e Remove unneeded comments 11 years ago
Thomas Müller 88cc52c408 Avoid php message "Invalid argument supplied for foreach()" - refs #15590 11 years ago
Roeland Jago Douma b1c513f000 Fix unit tests 11 years ago
Bernhard Posselt 6779bf113d add isAdmin and isInGroup methods for the group manager 11 years ago
Joas Schilling 6202ca33ba Make remaining files extend the test base 11 years ago
Arthur Schiwon 7ff7a49f3d adjust group manager tests 11 years ago
voxsim 1366133d2b add more logic in displayNamesInGroup for big user bases 11 years ago
voxsim a49610e18a change logic in displayNamesInGroup and add some unit tests 12 years ago
macjohnny de53bee9b3 adapted tests for a groupId indexed group array 12 years ago
Robin McCorkell 875a8acedf Fix Scrutinizer errors about missing user backend 12 years ago
Arthur Schiwon 837a02184b the group manager calls exists check less often, adjust test accordingly 12 years ago
Arthur Schiwon 45e42c25de Group Database backend must not gather user details itself but ask user 12 years ago
Arthur Schiwon 450de0091a adjust tests accordingly 12 years ago
Bart Visscher 3116bede68 Add unit tests for getUserGroups with addUser and removeUser 12 years ago
Robin Appelman b35f679483 Fix test cases for group manager 12 years ago
Robin Appelman e3ea3ed3c5 group: only pass backends that hold that specific group to the group constructor 13 years ago
Robin Appelman 065bc96b02 more consistent naming 13 years ago
Robin Appelman 2d9be541ea add test case for getting group after deleting it 13 years ago
Robin Appelman a735105a22 update group management 13 years ago