Commit Graph

45 Commits (addParameterTypingVersionsMapper)

Author SHA1 Message Date
Ferdinand Thiessen e3b34891b0
chore: migrate to PHPUnit 11 2 months ago
Ferdinand Thiessen d6d6747a73 refactor: apply rector rules for PHPUnit 10 2 months ago
Robin Appelman aa15f9d16d
chore: run rector 6 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Joas Schilling 775ca882f3
fix(usermanager): Don't throw when checking if a too long user id is an existing user 8 months ago
Joas Schilling 522be60ff0
fix(phpunit): Remove some more withConsecutive calls 9 months ago
Benjamin Gaussorgues 79db082fe6 fix(users): improve recently active search 1 year ago
Louis Chemineau 22d5d29c01 fix(users): Don't crash if disabled user is missing in the database 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Vincent Petry 839ddaa354
feat: rename users to account or person 2 years ago
Joas Schilling ad12a740cb
fix!: Remove symfony EventDispatcherInterface from User 2 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Simon L 7271ec7acf spaces are allowed in userids 3 years ago
Côme Chilliet 6f80fe6ada
Remove deprecated at matcher from tests/lib 3 years ago
Carl Schwan 9ec0cb0a90 Fix psalm issues related to the user backend 4 years ago
Robin Appelman 6d6662ec68
expose displayname cache trough a public interface 4 years ago
Carl Schwan a8866b0253
Fix tests 4 years ago
Côme Chilliet cd72045433
Make mock config return default value to fix warnings 4 years ago
Joas Schilling 645f83121e
Cache the user backend info for 300s 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 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
Christoph Wurst cc80339b39
Add typed create user events 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects 7 years ago
Roeland Jago Douma 03fe2b3b81
Use a case insensitive search for email 7 years ago
Georg Ehrke 2db26d87c4
filter null values for UserManager::getByEmail 7 years ago
John Molakvoæ (skjnldsv) ad6e548411
Added case example to tests 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Arthur Schiwon 4f3d52a364
never translate login names when requiring with a user id 8 years ago
Arthur Schiwon 2fde21e318
extend tests for status quo 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Lukas Reschke ed8a98eaa1
Prevent SQL error message in case of error 8 years ago
Arthur Schiwon 668fe7df51
UserManager can now count disabled users 9 years ago
Joas Schilling 9212089151
Use the new method in the old one to remove duplicate code 9 years ago
Joas Schilling a3922bbcdc
Better validation of allowed user names 9 years ago
Roeland Jago Douma f722640a32
Proper DI of config 9 years ago
Jörn Friedrich Dreyer f8352fcb8d
introduce callForSeenUsers and countSeenUsers (#26361) 9 years ago
Roeland Jago Douma d616984879
Fix getMock User 9 years ago
Roeland Jago Douma f2d091a963
Fix failing tests after db split 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Roeland Jago Douma f6ee738ba8
Add \OC\User\Backend 10 years ago
Thomas Müller 1480964768 Adding more test suites to group DB 10 years ago
Lukas Reschke 36ce254ffd Move dummy backend to Tests namespace 10 years ago
Morris Jobke 6da33e1ea7 introduce names for user backends - IUserBackend 11 years ago
Lukas Reschke 5dc6406b70 Add filter for 'backend' to user REST route 11 years ago
Joas Schilling 6202ca33ba Make remaining files extend the test base 11 years ago