Problem/Motivation

… because it's been deprecated since #3095113: Deprecate IE conditional comments support and being removed in Drupal 10 — see https://www.drupal.org/node/3102997.

This should make tests pass again :)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3290829-2.patch897 byteswim leers

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Status: Active » Needs review
StatusFileSize
new897 bytes

Status: Needs review » Needs work

The last submitted patch, 2: 3290829-2.patch, failed testing. View results

wim leers’s picture

Status: Needs work » Reviewed & tested by the community

The test passed, there are just 3 deprecation notices:

Testing Drupal\Tests\http2_server_push\Functional\LinkHeaderTest
.                                                                   1 / 1 (100%)

Time: 3.85 seconds, Memory: 4.00 MB

OK (1 test, 4 assertions)

HTML output was generated
http://php-apache-jenkins-drupal8-contrib-patches-110918/subdirectory/sites/simpletest/browser_output/Drupal_Tests_http2_server_push_Functional_LinkHeaderTest-1-82369581.html
http://php-apache-jenkins-drupal8-contrib-patches-110918/subdirectory/sites/simpletest/browser_output/Drupal_Tests_http2_server_push_Functional_LinkHeaderTest-2-82369581.html

Remaining self deprecation notices (3)

  1x: Declaring ::setUp without a void return typehint in Drupal\Tests\http2_server_push\Functional\LinkHeaderTest is deprecated in drupal:9.0.0. Typehinting will be required before drupal:10.0.0. See https://www.drupal.org/node/3114724
    1x in DrupalListener::startTest from Drupal\Tests\Listeners

  1x: The Drupal\Tests\http2_server_push\Functional\LinkHeaderTest::$modules property must be declared protected. See https://www.drupal.org/node/2909426
    1x in DrupalListener::startTest from Drupal\Tests\Listeners

  1x: Passing a third argument to "Symfony\Component\HttpFoundation\HeaderBag::get()" is deprecated since Symfony 4.4, use method "all()" instead
    1x in LinkHeaderTest::testCssJsLinkHeaders from Drupal\Tests\http2_server_push\Functional

  • Wim Leers committed 8f5d075 on 8.x-1.x
    Issue #3290829 by Wim Leers: Remove conditional CSS/JS test coverage
    
wim leers’s picture

Status: Reviewed & tested by the community » Fixed
wim leers’s picture

Title: Remove conditional CSS/JS test coverage » Remove conditional CSS/JS test coverage (because it is being removed in Drupal 10 anyway)

Status: Fixed » Closed (fixed)

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