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.
I spent a huge amount of time trying to figure out why simpletest would run on my local setup, but not on my development server.
I finally found an explanation at http://wtanaka.com/node/7869, and realized that the out-of-the-box RHEL php didn't have the DOM extension.
This should at a minimum be in the README.txt or INSTALL.txt.
Comment | File | Size | Author |
---|---|---|---|
#5 | 363391-simpletest-requirements-D7.patch | 2.25 KB | Dave Reid |
#1 | module-simpletest-6.x-simpletest.install-DOMDocument-requirement.patch | 2.04 KB | ShawnClark |
Comments
Comment #1
ShawnClark CreditAttribution: ShawnClark commentedRan into this same issue and have created a patch so that SimpleTest will check for the existence of the DOMDocument class.
Comment #2
ShawnClark CreditAttribution: ShawnClark commentedComment #3
zroger CreditAttribution: zroger commentedPatch works as advertised.
Comment #4
Damien Tournoud CreditAttribution: Damien Tournoud commentedThis needs to get to D7 first.
Comment #5
Dave ReidHere's a better patch that simplified the simpletest_requirements() code down without having to use the $phase parameter like system_requirements() and fixes the use of links within t().
Comment #6
Dries CreditAttribution: Dries commentedThis has been committed to Drupal 7 core. Moving back to SimpleTest project.
Comment #7
boombatower CreditAttribution: boombatower commentedComplete backport of Drupal 7.x SimpleTest module. (voids all backports). (SimpleTest 2.6)
Please re-open if still an issue.