Problem/Motivation

Skip ReverseProxyMiddlewareTest::testReverseProxyEnabledLegacy test if Request::setTrustedHeaderName() does not exist because it's a legacy test and this doesn't exist in Symfony 4.

Proposed resolution

See problem motivation

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
FileSize
2.07 KB

This removes the mention and testing of setTrustedHeaderName for no legacy test code.

Gábor Hojtsy’s picture

Rolled together with #2976394-144: Allow Symfony 4.4 to be installed in Drupal 8 for testing purposes. Also uploading the prior patch unchanged again for easier commit :)

Gábor Hojtsy’s picture

The last submitted patch, 4: 3038062-3-with-2976394-144.patch, failed testing. View results

Gábor Hojtsy’s picture

Status: Needs review » Reviewed & tested by the community

Ok it does not only look good but also actually fixes the issue :)

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed b4215ff and pushed to 8.7.x. Thanks!

kim.pepper’s picture

Status: Fixed » Needs work

This doesn't look like the commit was pushed?

andypost’s picture

Status: Needs work » Reviewed & tested by the community

proper status

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

@catch now pushed the commit to 8.7 and I cherry-picked to 8.8, so all is good :) Thanks for noticing!

  • catch committed 78b4e3c on 8.7.x
    Issue #3038062 by Gábor Hojtsy, alexpott: [Symfony 4] Skip...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.