I'd like to write some contrib module tests that would benefit from starting from a standard, populated database of content.

Only some modest changes are needed to make the dump-database script work for D6 or D7 - any reason not to improve it to handle both?

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new3.3 KB

These seems to work ok for both 6 and 7.

dries’s picture

We should also rename the filename of the script then, not?

pwolanin’s picture

@Dries - yes, likely so. Suggestions?

pwolanin’s picture

StatusFileSize
new7 KB

Here's a simple rename. See patch above for the actual lines changed.

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.