Fix broken test: getRendition declaration is not compatible

Created on 15 May 2024, 6 months ago
Updated 29 May 2024, 6 months ago

Problem/Motivation

1) Drupal\Tests\media_fotoweb\Kernel\MediaPluginTest::testCreateNewFile
PHPUnit\Framework\Exception: PHP Fatal error:  Declaration of Drupal\Tests\media_fotoweb\Kernel\TestServiceClient::getRendition($href) must be compatible with Fotoweb\FotowebClient::getRendition($href, int $max_retries = 10) in /builds/project/media_fotoweb/tests/src/Kernel/TestServiceClient.php on line 28
Fatal error: Declaration of Drupal\Tests\media_fotoweb\Kernel\TestServiceClient::getRendition($href) must be compatible with Fotoweb\FotowebClient::getRendition($href, int $max_retries = 10) in /builds/project/media_fotoweb/tests/src/Kernel/TestServiceClient.php on line 28

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany szeidler Berlin

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024