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