Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Updated: Comment #2
Problem/Motivation
I'm experiencing an issue where the test stops with an error such as this:
Table 'drupal.simpletest281100simpletest' doesn't exist: INSERT
INTO {simpletest} (test_id, test_class, status, message,
message_group, function, line, file) ...
in DrupalTestCase::insertAssert() (line 210 of [...]/modules/simpletest/drupal_web_test_case.php).
Proposed resolution
It appears that the intention of insertAssert() and of line 210 is to insert into the default prefixed simpletest table, not with simpletest's prefix. A very similar situation is handled several lines above in the assert() function.
Remaining tasks
1. The patch is ready for review.
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-insertassert_exception-2155023-3.patch | 883 bytes | daven |
Comments
Comment #1
daven CreditAttribution: daven commentedComment #2
Owen Barton CreditAttribution: Owen Barton commentedComment #3
daven CreditAttribution: daven commentedImproving summary and providing a better patch file name (with the same diff).