zf1s / zf1

Monorepo of a fork of Zend Framework 1, with all components split into individual composer packages. PHP 5.3-8.3 compatible.
BSD 3-Clause "New" or "Revised" License
57 stars 22 forks source link

[zend-ldap]: fix failing tests #172

Closed falkenhawk closed 6 months ago

falkenhawk commented 6 months ago

[zend-ldap]: fix failing tests due to changes in bitnami/openldap:2.5

1) Zend_Ldap_BindTest::testRequiresDnWithoutDnBind
Failed asserting that '0x1: Failed to retrieve DN for account: admin@example.com [0x30 (Inappropriate authentication; anonymous bind disallowed): ldap://localhost:1389]' contains "No object found for".

/home/runner/work/zf1/zf1/tests/Zend/Ldap/BindTest.php:184

restore expected message to the previous version, as the error message contains Failed to retrieve DN again 🙈 https://github.com/zf1s/zf1/pull/159/files#diff-10a1b3c35fa477d1ad544c164800886583a4162bf83154247e986d59da216ff5L184