When I enable Drupal Testing module and go to admin/config/development/testing I got the following error:
Fatal error: Class 'FeedsWebTestCase' not found in C:\work_php\drupal7\sites\all\modules\contrib\feeds\tests\feeds_processor_term.test on line 12
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | feeds_tests-1080640-4.patch | 5.74 KB | pillarsdotnet |
| #3 | feeds_missing_basetestclass_1080640.patch | 3.75 KB | wojtha |
Comments
Comment #1
wojtha commentedHmmmm. Strange. Fix was commited to master branch months ago, but it is still missing in feeds (7.x-2.x) branch:
Line
require_once(dirname(__FILE__) .'/feeds.test.incis missing at the beginning of the following tests:feeds_fetcher_file.test
feeds_processor_node.test
feeds_processor_user.test
feeds_processor_term.test
feeds_scheduler.test
Comment #2
wojtha commentedSame problem for
class FeedsMapperDateTestCase extends FeedsMapperTestCasein feeds_mapper_date.test.class FeedsMapperFieldTestCase extends FeedsMapperTestCasein feeds_mapper_field.test.class FeedsMapperFileTestCase extends FeedsMapperTestCasein feeds_mapper_file.test.and
class FeedsExamplesFeedTestCase extends FeedsWebTestCasein feeds_news.testand
class FeedsExamplesNodeTestCase extends FeedsWebTestCasein feeds_import.testComment #3
wojtha commentedI added required classes, I cherry-pick exactly same lines from master if the file was present there.
Patch is againts 7.x-2.x-dev.
This is offtopic but here are results from 7.x-2.x-alpha3 on my machine:
2087 passes, 175 fails, 21 exceptions, and 734 debug messages
Comment #4
pillarsdotnet commentedSlightly different patch, created with "git format-patch" and consistent with existing code.
Comment #5
dave reidThis should be fixed by #1066822: Fix unnecessary includes and weird stuff with test files