Closed (fixed)
Project:
SimpleTest
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2007 at 20:57 UTC
Updated:
21 Jul 2007 at 09:48 UTC
the simpletest_run_tests() contains a check on the constant variable TEST_RUNNING, and will only run a test if the variable is not set. As this is a constant it can only be set once and, in theory at least, prevents multiple calls to simpletest_run_tests from running in the same page load.
The attached patch converts the constant to a global variable to allow the variable to be reset after the test has completed.
| Comment | File | Size | Author |
|---|---|---|---|
| simpletest_test_running.patch | 990 bytes | hadsie |
Comments
Comment #1
Rok Žlender commentedI think this is one is good to go in. I will wait till the end of the weekend and then commit it if nobody comments.
Comment #2
Rok Žlender commentedCommitted to DRUPAL-5 and HEAD. Thanks
Comment #3
Rok Žlender commentedMarking as fixed
Comment #4
(not verified) commented