Fix broken test: getRendition declaration is not compatible

Created on 15 May 2024, about 1 month ago
Updated 29 May 2024, about 1 month 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.69.0 2024