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).
| Comment | File | Size | Author |
|---|---|---|---|
| simpletest-ret-1.patch | 1.46 KB | c960657 |
Comments
Comment #1
tobiasbComment #2
boombatower commentedoo...I made issue at #610240: $ret left out to die in simpletest_clean_database(), marking as dup.
Comment #3
nkmaniPatch works and the notice message is gone after the patch.
Comment #4
matason commentedPatch applied cleanly and fixed the error.
Comment #5
webchickCommitted to HEAD. Sounds like we need tests for cleaning the database. I'm not sure if this is possible, though.