Files
ADconsle/tests
kzbkowskiandClaude Sonnet 5 3dae779724
CI / PHP 8.4 (push) Successful in 1m5s
Release image / image (push) Successful in 1m39s
test: stop OuTreeServiceTest hitting a real LDAP server
it_limits_tree_to_default_user_and_computer_ous only mocked
OrganizationalUnit::query(); attachCounts() then called the real
User/Computer query via countObjectsInOu(), which threw "Can't contact
LDAP server" on any checkout whose .env points LDAP_HOSTS at an
unreachable DC (i.e. every CI run since v1.0.0). Stub countObjectsInOu()
on a partial mock, like the sibling test already does — the test only
asserts tree shape, not counts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JKT9p3bfP8RZesExdYCS52
2026-09-10 09:24:15 +02:00
..
2026-09-10 09:13:04 +02:00
2026-09-08 23:14:39 +02:00