aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | chore: run rector on testsRobin Appelman2025-06-12250-1494/+1864
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Fix: Remove X-XSS-Protection use, check and recommendationinvario2025-06-131-1/+0
|/ / / | | | | | | | | | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: invario <67800603+invario@users.noreply.github.com>
* | | 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>
* 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-153-4/+117
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)2025-05-143-4/+117
| | | | | | | | 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>