aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore: apply new CSFixer rulesFerdinand Thiessen24 hours279-657/+919
| | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
* fix(nullcache): make get compliant with the interfacedebt/noid/wrong-return-type-nullcacheDaniel Kesselberg6 days1-1/+1
| | | | | | The interface defines ICacheEntry|false, thus we should not return null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat(lexicon): new tests about lexicon migrationMaxence Lange8 days2-3/+59
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(lexicon): fix testsMaxence Lange8 days2-29/+23
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(lexicon): migrate config key/valueMaxence Lange8 days1-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix: revive always storing lowercased email addressesRichard Steinmetz8 days2-0/+34
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(FilenameValidator): use `_` as default replacement for invalid charsfix/validation-defaultsFerdinand Thiessen2025-06-181-6/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: run rector on tests with new rulerector-testsRobin Appelman2025-06-1223-91/+75
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: run rector on testsRobin Appelman2025-06-12232-1444/+1801
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #53000 from nextcloud/fix/noid/stuck-ffmpegDaniel2025-06-102-4/+25
|\ | | | | fix: unblock ffmpeg on some broken videos
| * fix: unbloc ffmpeg on some broken videosfix/noid/stuck-ffmpegArthur Schiwon2025-05-202-4/+25
| | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #52743 from nextcloud/bug/noid/expires-date-formatKate2025-06-102-6/+6
|\ \
| * | fix: use correct format for expires, last-modified, and if-modified-since ↵Daniel Kesselberg2025-06-102-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | headers Before: Sat, 10 May 2025 18:17:41 +0000 After: Sat, 10 May 2025 18:17:41 GMT RFC: https://httpwg.org/specs/rfc9110.html#http.date Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | test: addd test for hideFromCollaborationdebt/noid/use-logical-operatorDaniel Kesselberg2025-06-101-0/+53
|/ / | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #52538 from nextcloud/feat/use-php84-lazy-objectsCôme Chilliet2025-06-101-1/+9
|\ \ | | | | | | Use PHP 8.4 lazy ghosts for Dependency injection
| * | fix(tests): Force lazy ghost initialisation in container testsCôme Chilliet2025-06-051-1/+9
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | test: Add a hint message on boolean comparisonJoas Schilling2025-06-061-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore(tests): Add test for AppConfig::getAppInstalledVersionsCôme Chilliet2025-06-051-5/+19
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore(tests): Adapt AppManager test to the use of searchValuesCôme Chilliet2025-06-052-5/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #52949 from nextcloud/fix/delete-legacy-autoloaderFerdinand Thiessen2025-06-021-51/+0
|\ \ | | | | | | fix: Remove useless legacy autoloader
| * | fix: Remove useless legacy autoloaderfix/delete-legacy-autoloaderCôme Chilliet2025-05-271-51/+0
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3Louis2025-06-021-0/+13
|\ \ \
| * | | test: add test that object store folder copy preserves folder sizeartonge/fix/copy_subfolders_s3Robin Appelman2025-05-281-0/+13
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | test: Mock ITaskManager to remove test interactionsJoas Schilling2025-05-291-7/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | feat: add support for sensitive Declarative settings values encryptionAndrey Borysenko2025-05-281-1/+37
| | | | | | | | | | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* | | Merge pull request #52816 from nextcloud/primary-object-store-settingsRobin Appelman2025-05-283-112/+142
|\ \ \ | | | | | | | | feat: move primary object store configuration to a single place
| * | | feat: move primary object store configuration to a single placeprimary-object-store-settingsRobin Appelman2025-05-283-112/+142
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / test: adjust library tests for PHPunit deprecationsFerdinand Thiessen2025-05-282-4/+4
|/ / | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore: Remove useless legacy autoloader for testsfix/cleanup-test-legacy-autoloaderCôme Chilliet2025-05-272-8/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytesFerdinand Thiessen2025-05-221-4/+5
| | | | | | | | | | | | | | | | | | | | | | Proper replacement for deprecated `OC_Util::getUserQuota`. Also we still use this in some cases we can now replace, moreover it just makes sense to have a machine readable format in the API instead of only the human readable format which is less precise. Alings also with `getQuota` of the quota storage, which already returned the machine readable format. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | test: Speed up comments testJoas Schilling2025-05-211-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-191-17/+68
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #52848 from nextcloud/fix/cleanup-servercontainerKate2025-05-196-7/+7
|\
| * fix: Remove calls to legacy callers in testsfix/cleanup-servercontainerCôme Chilliet2025-05-162-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix(tests): Remove calls to removed getMountProviderCollection from testsCôme Chilliet2025-05-164-5/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | test: replace `OC_Helper:rmdirr` with `OCP\Files::rmdirr`chore/remove-deprecated-oc-helperFerdinand Thiessen2025-05-168-10/+22
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | test: move legacy tests to non-depecated class testsFerdinand Thiessen2025-05-164-104/+123
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(RouteParser): bail out if method name contains hashtagrefactor/app/remove-register-routesFerdinand Thiessen2025-05-151-0/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(AppFramework): Remove unused RouteConfig class and migrate tests to ↵provokateurin2025-05-152-477/+338
| | | | | | RouteParser Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52822 from nextcloud/feat/mime-namesJohn Molakvoæ2025-05-151-1/+8
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)2025-05-141-1/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | test: Fix coding standardsci/noid/update-phpunit10Joas Schilling2025-05-1516-25/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix most tests/lib/DB/QueryBuilderJoas Schilling2025-05-156-42/+43
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix non-static data providersJoas Schilling2025-05-1557-186/+181
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/FilesJoas Schilling2025-05-1510-103/+95
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Make Archive test order independentJoas Schilling2025-05-151-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[S-Z]*Joas Schilling2025-05-159-62/+73
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/Security/Joas Schilling2025-05-1513-28/+22
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[H-N]*Joas Schilling2025-05-159-91/+72
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[C-G]*Joas Schilling2025-05-157-57/+75
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>