Get tests passing on Drupal 10.1.x

Created on 12 January 2023, almost 2 years ago
Updated 12 April 2023, over 1 year ago

Problem/Motivation

It looks like https://www.drupal.org/node/3301716 has caused the CDN module's integration tests to fail :

Testing Drupal\Tests\cdn\Functional\CdnIntegrationTest
E......                                                             7 / 7 (100%)

Time: 00:33.428, Memory: 4.00 MB

There was 1 error:

1) Drupal\Tests\cdn\Functional\CdnIntegrationTest::testCss
Behat\Mink\Exception\ExpectationException: The string "url(" was not found anywhere in the HTML response of the current page.

/var/www/html/vendor/behat/mink/src/WebAssert.php:794
/var/www/html/vendor/behat/mink/src/WebAssert.php:324
/var/www/html/core/tests/Drupal/Tests/WebAssert.php:496
/var/www/html/modules/contrib/cdn/tests/src/Functional/CdnIntegrationTest.php:141
/var/www/html/modules/contrib/cdn/tests/src/Functional/CdnIntegrationTest.php:111
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

ERRORS!
Tests: 7, Assertions: 53, Errors: 1.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024