nextcloud-server/tests
nfebe 6a1fdf5498 fix: Make TrustedServers optional in RemotePlugin
The federation app is not always installed, causing errors when
TrustedServers is injected as a hard dependency. This change makes
the dependency optional by using nullable types and null-safe
operators, defaulting to false when unavailable.

Modified backport of #55893 which are required for
the stable31 backport to function correctly.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-11 12:09:05 +07:00
..
Core fix(core): Stop abusing the cache for avatar upload 2025-09-26 19:36:34 +07:00
apps chore: Add SPDX header 2024-05-13 17:41:36 +07:00
blueprints chore: Add SPDX header 2024-05-13 17:41:36 +07:00
data ci: Update testing certificates that expired after 10 years 2025-08-25 11:18:59 +07:00
docker chore: Add SPDX header 2024-05-13 17:41:36 +07:00
lib fix: Make TrustedServers optional in RemotePlugin 2025-11-11 12:09:05 +07:00
objectstore chore: Add SPDX header 2024-05-22 19:58:12 +07:00
apps.php fix(tests): Fix test selection and run unit tests of DAV and user_status 2024-09-19 17:44:45 +07:00
autoload.php chore: Add an autoload.php file for tests relying on core class 2025-05-19 15:44:20 +07:00
bootstrap.php chore: Add an autoload.php file for tests relying on core class 2025-05-19 15:44:20 +07:00
drone-run-integration-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +07:00
drone-run-php-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +07:00
drone-wait-objectstore.sh chore: Add SPDX header 2024-05-13 17:41:36 +07:00
enable_all.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +07:00
karma.config.js fix(deps): Update @nextcloud/vue to v8.29.2 2025-08-31 16:29:41 +07:00
phpunit-autotest-external.xml chore: Add SPDX header 2024-05-13 17:41:36 +07:00
phpunit-autotest.xml chore: ignore vendor-bin for coverage 2024-12-16 15:47:17 +07:00
preseed-config.php test: re-add object store primary storage phpunit tests 2024-09-27 14:45:39 +07:00
redis-cluster.config.php chore: Add SPDX header 2024-05-13 17:41:36 +07:00
redis.config.php chore: Add SPDX header 2024-05-13 17:41:36 +07:00
startsessionlistener.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +07:00