ProviderRepositoryTest should execute tests against ProviderRepositoryDecorator

Created on 28 November 2023, about 1 year ago

Problem/Motivation

Currently, the ProviderRepositoryTest test class simply extends Drupal\Tests\media\Unit\ProviderRepositoryTest. The intent was to execute core's ProviderRepositoryTest against ProviderRepositoryDecorator; however, what is actually happening is that core's tests are being executed against core's ProviderRepositoryclass.

Proposed resolution

Modify this module's ProviderRepositoryTest class to set $this->repository as a ProviderRepositoryDecorator object.

Remaining tasks

Open MR
Passing tests

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Chris Burge

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

Merge Requests

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