nextcloud/tests/lib/Collaboration/Collaborators
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 +01:00
..
GroupPluginTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
LookupPluginTest.php fix(lookup-server): disable lookup server for non-global scale setups 2025-03-11 21:54:06 +01:00
MailPluginTest.php test: Adapt tests to properly use valid email addresses 2025-03-28 22:37:07 +01:00
RemotePluginTest.php fix: Make TrustedServers optional in RemotePlugin 2025-11-11 12:09:05 +01:00
SearchResultTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
SearchTest.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
UserPluginTest.php test: adjust test cases 2025-10-13 23:05:45 +02:00