Simple patch.
Reviewed the patch. This makes total sense. Let's see what the testing bot says first though.
The last submitted patch failed testing.
I am not a 100% sure this is the right solution. I have put a lot of thought into this and I think the only clean way to fully clean everything out is #488182: Shared test runner between webrunner and script and perfectly clean test environment. If the other issue is implemented then this will be unnecessary.
Believe this has been since implemented with the 'ol drupal_static().
Comments
Comment #1
johnalbinReviewed the patch. This makes total sense. Let's see what the testing bot says first though.
Comment #3
boombatower commentedI am not a 100% sure this is the right solution. I have put a lot of thought into this and I think the only clean way to fully clean everything out is #488182: Shared test runner between webrunner and script and perfectly clean test environment. If the other issue is implemented then this will be unnecessary.
Comment #4
boombatower commentedBelieve this has been since implemented with the 'ol drupal_static().