Closed (fixed)
Project:
SimpleTest
Version:
6.x-2.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2009 at 08:27 UTC
Updated:
22 Feb 2009 at 21:10 UTC
The latest version of SimpleTest for D6 bombs with an error like
PHP Fatal error: Class 'DrupalTestCase' not found in /Applications/MAMP/htdocs/drupal6/sites/all/modules/content_profile/tests/content_profile.test on line 9
When loading /admin/build/testing. Yes, 2.x branch tests should be using "DrupalWebTestCase", but this didn't used to cause a problem. I think it's because of the missing regex filter in simpletest_get_all_tests(). Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| simpletest.filter-old.patch | 742 bytes | lyricnz |
Comments
Comment #1
boombatower commentedSo my hunch was correct. :)
It would be nice if this were not necessary, or just left as is....it is rather expensive to read every test file before including it.
Committed.