Automated testing symfony/ldap 6.x issues

Created on 4 May 2023, over 1 year ago
Updated 9 January 2024, 11 months ago

Problem/Motivation

We have 14 errors on test cases for multiple modules, besides some code standard issues, we need to fix this before going for a new stable release on Drupal 10

PHP Fatal error: Declaration of Drupal\ldap_servers_dummy\FakeQuery::execute() must be compatible with Symfony\Component\Ldap\Adapter\QueryInterface::execute(): Symfony\Component\Ldap\Adapter\CollectionInterface in /var/www/html/modules/contrib/ldap/ldap_servers/tests/modules/ldap_servers_dummy/src/FakeQuery.php on line 31

Tests: 45, Assertions: 174, Errors: 14.

Steps to reproduce

Install the module on dev branch
Run the PHPUnit for the LDAP module

Proposed resolution

Update compatible methods on interfaces using symfony/ldap 6.x

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Tests

Created by

πŸ‡¨πŸ‡΄Colombia sergiogsanchez

Live updates comments and jobs are added and updated live.
  • testing

    Used for Documentation issues related to testing and test development

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024