Don't autoload deprecated Behat support code

Created on 26 April 2022, almost 3 years ago
Updated 25 October 2023, over 1 year ago

The BLT/Behat-related classes from the tests/src and tests/contexts subdirectories are being autoloaded by composer and are interfering with stand-alone Behat testing.

As I understand it, these test classes are now deprecated and were left in the codebase for backwards compatibility.

This patch removes the autoload so the classes will no longer be loaded by default.

πŸ“Œ Task
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cameron prince

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States Jon Pugh Newburgh, NY

    FWIW I am still getting the error. I had to fully remove the .behat.inc files to get bin/behat to run.

    drupal/lightning_core * 5.14.0
    behat/behat v3.13.0
    drupal/drupal-extension v5.0.0rc1

Production build 0.71.5 2024