From chx: here is the cycle to be tested

1. Make sure forum, comment and taxonomy is disabled.
2. Enable forum module.
3. Assert that you got the confirm form.
4. Press confirm.
5. Assert all three are on, then disable forum
6. Assert that comment and taxonomy are still on, then disable them.
7. Switch forum, comment and taxonomy on.
8. Assert there is no confirm form.
9. Assert all three are on.

Comments

dmitrig01’s picture

Status: Active » Needs review
StatusFileSize
new5.67 KB

Here it is

dmitrig01’s picture

StatusFileSize
new6.29 KB

re-rolled as per chx

dmitrig01’s picture

StatusFileSize
new6.27 KB

extra whitespace

CorniI’s picture

Status: Needs review » Needs work

The System simpletests are failing with:

An error occurred. /drupal7/?q=batch&id=44&op=do
Fatal error: Call to undefined method EnableDisableCoreTestCase::assertXPath() in /var/www/drupal7/modules/system/system.test on line 52

dmitrig01’s picture

Status: Needs work » Needs review
StatusFileSize
new8.09 KB

Adding assertXPath.

dmitrig01’s picture

StatusFileSize
new8.13 KB

Oops, flawed logic in assertXPath. I have bad copy-paste-fu

chrisshattuck’s picture

Status: Needs review » Needs work

Hey dimitri, the patch didn't apply. Thanks for your help with the testing!

catch’s picture

Component: tests » base system
Priority: Critical » Normal

Fixing the critical / pending bugs queues to reflect things which are really bugs or release critical.

Status: Needs work » 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.