nextcloud/tests/lib/Collaboration/Collaborators
nfebe e7ce70744d fix(sharing): Add isTrustedServer flag to lookup results
When `show_federated_shares_to_trusted_servers_as_internal` is enabled,
lookup server results were being filtered out because they lacked the
`isTrustedServer` flag. This adds the flag to lookup results by:

- Injecting TrustedServers service into LookupPlugin
- Adding `server` and `isTrustedServer` fields to each lookup result
- Updating tests to reflect new structure

This ensures lookup results from trusted servers appear in internal
sharing while non-trusted servers are correctly filtered out.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-12-04 12:05:01 +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(sharing): Add isTrustedServer flag to lookup results 2025-12-04 12:05:01 +01:00
MailPluginTest.php fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 21:08:25 +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