Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The command php scripts/run-tests.sh --verbose --url http://example.org/ --file modules/filter/filter.test
outputs an HTML page with the following error message embedded:
ReflectionException: Class 0 does not exist in ReflectionClass->__construct() (line 404 of /home/chsc/www/drupal7/scripts/run-tests.sh).
I think this is a regression from #376129: Change getInfo() to a static method that changed the format of the array returned by simpletest_get_all_tests().
Comment | File | Size | Author |
---|---|---|---|
run-tests-1.patch | 971 bytes | c960657 | |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedBot likes it, looks clean, and running tests by class name continues to function while applied.
Comment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.