Skip to content

Conversation

@tatankat
Copy link
Contributor

@tatankat tatankat commented Aug 24, 2022

Pull Request for missing LDAP tests as mentioned by @HLeithner in #37962 .

Summary of Changes

  • add ldap service to drone and appveyor
  • add certificates
  • added tests for authentication against ldap database

Testing Instructions

run the unit tests with #38421 applied (or an equally patched phpunit.xml)

Actual result BEFORE applying this Pull Request

no ldap tests (Tests: 784, Assertions: 1264, Skipped: 4.)

Expected result AFTER applying this Pull Request

5 more tests, 3 more assertions, 2 more skipped test (waiting for PRs #37962 and #37959)

Documentation Changes Required

Maybe: need to run the ldap docker image to run tests
tests/Unit/README.md should be updated on how to run the unit tests locally. I can add this once the general idea of this PR is approved.

@tatankat
Copy link
Contributor Author

tatankat commented Sep 8, 2022

Now it also works on appveyor, thanks to the bitnami team, who accepted my PRs for their openldap image to include more logging so I could find the problem and to fix running as windows Administrator.
It also worked in drone last time it ran there (see https://ci.joomla.org/joomla/joomla-cms/57306).
So, can someone (@HLeithner) (re)take a look at this?

@HLeithner
Copy link
Member

@Hackwar can you have a look and merge it afterwards? I update the drone signature already

@Hackwar Hackwar added this to the Joomla! 4.3.0 milestone Sep 15, 2022
@Hackwar Hackwar merged commit 8a87326 into joomla:4.3-dev Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants