Fix failing D10 tests
Problem/Motivation
We have currently some failing tests regarding D10.
https://www.drupal.org/pift-ci-job/2398266
Probably due to a change within Symfony as it might not support the static create method on Request and Response objects anymore. Cannot find such a change record though, but this should be easily fixed by replacing the call to the static create method by directly using the object's constructor.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Edited by drupalbot