Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
simpletest.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2015 at 20:36 UTC
Updated:
27 Aug 2015 at 08:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
neclimdulPersonally, I'm not really sure this is a sustainable approach. If we can it would be nice if we had a more solid approach to this problem. I don't know what that is though.
Comment #3
neclimdulComment #4
pwolanin commentedYou can't really try/catch since you don't want to break out of the logic. You also don't want to suppress errors since you want to see others - maybe this test can change the die on fail behavior?
Comment #5
pwolanin commentedComment #6
neclimdulYeah, I was mistaken anyways. Throwing an exception would be the logical thing for simpletest to do in this case. Instead it prints the error and calls exit giving not way to work around excepted notices.
Comment #7
neclimdulsolves the problem.
Comment #8
alexpottCommitted 3b3680e and pushed to 8.0.x. Thanks!