If I press “Clean environment” on admin/config/development/testing, and there are no leftover tables in the database, a PHP notice is triggered:

Notice: Undefined variable: ret in simpletest_clean_database() (line 425 of /home/chsc/www/drupal7/modules/simpletest/simpletest.module).

CommentFileSizeAuthor
simpletest-ret-1.patch1.46 KBc960657

Comments

tobiasb’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix
boombatower’s picture

nkmani’s picture

Patch works and the notice message is gone after the patch.

matason’s picture

Patch applied cleanly and fixed the error.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Sounds like we need tests for cleaning the database. I'm not sure if this is possible, though.

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

Automatically closed -- issue fixed for 2 weeks with no activity.