aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* perf: cache server checks in local cache, not sessionperf/cache-server-checks-local-cacheChristoph Wurst8 days1-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #53417 from nextcloud/fix/fix-32bits-phpunitCôme Chilliet2025-06-191-6/+3
|\ | | | | fix(tests): Fix 32bits PHPUnit tests
| * fix(tests): Simplify error handling in tests/enable_all.phpCôme Chilliet2025-06-101-6/+2
| | | | | | | | | | | | | | Simply let the Exception bubble up instead of caching it and using grep to then detect it. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix(tests): Enable more PHP modules in phpunit-32bitsCôme Chilliet2025-06-101-1/+2
| | | | | | | | | | | | | | Also add output when enabling applications, and watch phpunit configuration file for changes. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(FilenameValidator): use `_` as default replacement for invalid charsfix/validation-defaultsFerdinand Thiessen2025-06-181-6/+6
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | style(occ): clean up SettingTest classSalvatore Martire2025-06-171-27/+14
| | | | | | | | Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
* | feat: allow reading profile properties from occSalvatore Martire2025-06-171-0/+470
| | | | | | | | | | | | | | This change adds support for reading profile information through the occ command, and updates the corresponding test. Signed-off-by: Salvatore Martire <4652631+klarkent@users.noreply.github.com>
* | test: adjust karma global state mockFerdinand Thiessen2025-06-161-7/+5
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore: run rector on tests with new rulerector-testsRobin Appelman2025-06-1228-102/+86
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | chore: run rector on testsRobin Appelman2025-06-12250-1494/+1864
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #53000 from nextcloud/fix/noid/stuck-ffmpegDaniel2025-06-103-4/+25
|\ \ | | | | | | fix: unblock ffmpeg on some broken videos
| * | fix: unbloc ffmpeg on some broken videosfix/noid/stuck-ffmpegArthur Schiwon2025-05-203-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>
* | | chore: update openAPI filesdependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.8.0Ferdinand Thiessen2025-06-093-10/+10
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | test: Add a hint message on boolean comparisonJoas Schilling2025-06-061-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | ci: Migrate PHPUnit configsJoas Schilling2025-06-062-45/+31
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Load all apps locally as wellJoas Schilling2025-06-061-2/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Enable all default appsJoas Schilling2025-06-061-10/+8
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Remove tests/apps.php which is no longer supportedJoas Schilling2025-06-062-55/+2
| | | | | | | | | | | | | | | | | | | | | PHPUnit 10 says: > Class apps cannot be found in …/server/tests/apps.php Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Remove suffix to reduce warnings about not extending TestCaseJoas Schilling2025-06-062-3/+3
|/ / | | | | | | 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>
* | test: cleanup karma (jsunit) tests and move files_external to Cypresscleanup/karmaFerdinand Thiessen2025-06-021-77/+2
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | 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>
* Merge pull request #50157 from nextcloud/feat/mountmanager/emit-eventsKate2025-05-191-17/+68
|\
| * feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-191-17/+68
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | chore: Add an autoload.php file for tests relying on core classfix/add-autoload.php-for-testsCôme Chilliet2025-05-192-1/+17
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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(core): remove untranslated mime namesJohn Molakvoæ (skjnldsv)2025-05-152-50/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* chore: update mimetypenamesJohn Molakvoæ (skjnldsv)2025-05-152-4/+72
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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>