When attempting to run simpletests from Drush or access the path admin/build/testing, I receive the following fatal error.
Fatal error: Class 'ServicesWebTestCase' not found in /PATH/services/tests/functional/ServicesParserTests.test on line 13
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | class-ServicesWebTestCase-not-found-1441452-1.patch | 414 bytes | markdorison |
Comments
Comment #1
marcingy commentedTests run on d.o without issue have you tried clearing your cache.
Comment #2
markdorisonAdded the following line to ServicesParserTests.test.
module_load_include('php', 'services', 'tests/functional/ServicesWebTestCase');Comment #3
markdorison@marcingy: Yes, I tried clearing caches multiple times.
Comment #4
marcingy commentedThis works on d.o without issue - so I see no reason why the patch supplied above is required, the class should be being lazy loaded. Also I know Kyle runs d6 testing locally without issue.
Comment #5
markdorisonWe ran into a similar issue with CCK's tests in the past.
#1363036: Class 'ContentCrudTestCase' not found.
Comment #6
marcingy commentedAh thanks for the cross reference :) I shall read that issue later before reviewing committing this patch. Setting to needs review.
Comment #7
kylebrowning commentedIt sounds like its not being included in the info file for autoload to do its magic?
Comment #9
kylebrowning commentedComment #10
kylebrowning commented