Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
phpunit
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Aug 2022 at 12:20 UTC
Updated:
12 Dec 2022 at 10:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
balintpekkerComment #4
balintpekkerComment #5
mglamanMoving to phpunit, since it's code for testing.
Comment #6
smustgrave commentedSeems like a simple change.
Comment #7
mondrakeI think this is just dead code - BigPipe implementation of filterResponse() is unrelated to here. Let's see this test only patch.
Comment #8
mondrakeLet's see if it's the entire method to be unused.
Comment #9
mondrakeMaybe we can just get rid of the entire method - it's called by the parent AbstractBrowser::request() method that the concrete DrupalTestBrowser class does not override, and the condition never triggers - so let's just fall back to the parent implementation. Classes extending DrupalTestBrowser (are there any?) and overriding ::filterResponse() would still work, just falling back to AbstractBrowser implementation as well.
Comment #11
spokjeLooks like a no: http://codcontrib.hank.vps-private.net/search?text=extends+DrupalTestBro...
So I think this is a nice clean up.
RTBC if TestBot agrees.
Comment #12
catchCommitted/pushed to 10.1.x and cherry-picked to 10.0.x, thanks! Nice to get rid of some code.