? PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar tatankat
tatankat
24 Aug 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.

avatar tatankat tatankat - open - 24 Aug 2022
avatar tatankat tatankat - change - 24 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2022
Category Unit Tests
avatar HLeithner HLeithner - change - 25 Aug 2022
Labels Added: ? PR-4.3-dev
avatar tatankat tatankat - change - 8 Sep 2022
The description was changed
avatar tatankat tatankat - edited - 8 Sep 2022
avatar tatankat
tatankat - comment - 8 Sep 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?

avatar tatankat tatankat - change - 9 Sep 2022
The description was changed
avatar tatankat tatankat - edited - 9 Sep 2022
avatar tatankat tatankat - change - 9 Sep 2022
The description was changed
avatar tatankat tatankat - edited - 9 Sep 2022
avatar HLeithner
HLeithner - comment - 9 Sep 2022

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

avatar Hackwar Hackwar - close - 15 Sep 2022
avatar Hackwar Hackwar - merge - 15 Sep 2022
avatar Hackwar Hackwar - change - 15 Sep 2022
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-09-15 14:07:10
Closed_By Hackwar

Add a Comment

Login with GitHub to post a comment