A test class that extends DrupalUnitTestCase breaks because that class requires the Database class, which doesn't exists in Drupal 6. This is the error;
Fatal error: Class 'Database' not found in [truncated]/simpletest/drupal_web_test_case.php on line 560
That line reads
$db_prefix = Database::getConnection()->prefixTables('{simpletest' . mt_rand(1000, 1000000) . '}');
Looks like this line didn't get ported to Drupal 6?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 580406-unit-backport.patch | 1.7 KB | boombatower |
Comments
Comment #1
Bevan commentedComment #2
boombatower commentedYep, missed it.
Comment #3
boombatower commentedCommitted.