Our SimpleTests have gotten out of date after the changes to select list and grid storage mechanisms, as well as the Drupal 7 tests never being fully upgraded for Drupal 7 at all. This set of patches gets our tests 100% working again on both D6/7 branches.
Additional fixes wrapped in this patch:
- Drupal 7: Messages now show up for anonymous users if they don't have access to submit a form.
- Drupal 7: Update for the recent API change regarding text_formats: #414424: Introduce Form API #type 'text_format'.
- Drupal 7: Properly saving of is_draft state if empty.
- Drupal 7: Handling of the %profile token fixed.
- Drupal 7: Webform node type is actually created upon installation.
- Drupal 7: Webform now uninstalls without throwing errors.
- Drupal 7: Configuration page set correctly. Tests now show up correctly.
- Drupal 6/7: Fixed test handling of selects, grids, dates, and times.
- Drupal 6/7: Fixed handling of optgroups on webform submission.
- Drupal 6: Fixed a space being added inadvertently to new component labels.
Hurray for tests. A real pain but lots of issues discovered and fixed during the process.
| Comment | File | Size | Author |
|---|---|---|---|
| webform7_fix_tests.patch | 26.95 KB | quicksketch | |
| webform6_fix_tests.patch | 16.53 KB | quicksketch |
Comments
Comment #1
quicksketchCommitted patches.