Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
tests
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
2 Jul 2008 at 06:16 UTC
Updated:
23 Jul 2008 at 10:56 UTC
I was convinced on IRC that we need the old way of running setUp and tearDown for each method instead of each test class. That's why they exist in the first place. And this is how old testing lib worked.
| Comment | File | Size | Author |
|---|---|---|---|
| setuppermethod.patch | 838 bytes | chx |
Comments
Comment #1
R.Muilwijk commented+1 for this patch. For all the methods for example in cache tests I had to add a resetter function.
Comment #2
Crell commentedI can confirm the bug (I'm the one who growled at chx about it in IRC after the database tests broke for the 47th time :-) ) and that this patch fixes it.
Comment #3
catchrunning all tests is fine too.
Comment #4
dries commentedRan all tests before and after and the tests continued to work. Committed to CVS HEAD.
Comment #5
yched commentedNot sure where simpletest D6 lies on this regard ? Does this need backporting ?
Comment #6
boombatower commentedIt was never changed so it still works this way, although there are a number of things that would be helpful back-porting. Already open issue #274542: Back-port the batch API patch & related imporvements.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.