Fix failing tests on Drupal CI

Created on 28 February 2023, almost 2 years ago

Problem/Motivation

The following error is thrown on the ContentHubEntitiesTrackingTest:

1) Drupal\Tests\acquia_contenthub\Unit\ContentHubEntitiesTrackingTest::testImportedDependentEntity
The @expectedException, @expectedExceptionCode, @expectedExceptionMessage, and @expectedExceptionMessageRegExp annotations are deprecated. They will be removed in PHPUnit 9. Refactor your test to use expectException(), expectExceptionCode(), expectExceptionMessage(), or expectExceptionMessageMatches() instead.

Remaining tasks

Update the test case, by removing the annotation.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇭🇺Hungary pajor

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

Comments & Activities

Production build 0.71.5 2024