Introduce services to make testing easier

Created on 28 July 2023, about 1 year ago
Updated 18 October 2023, 11 months ago

Problem/Motivation

As per https://www.drupal.org/project/estimated_read_time/issues/3351967 πŸ“Œ Add kernel tests Needs review it would be desirable to have tests for this module. To make testing easier some of the functionality should move to a service.

Proposed resolution

Move most of the functionality in estimated_read_time_set_estimated_read_time() to a service. Also, it would be desirable to have an adapter for the vendor module.

Remaining tasks

Introduce services and harden code.
Once this issue is resolved follow-up with tests.

User interface changes

None.

API changes

The new service will introduce an interface to interact with that other modules can use.

Data model changes

None. This issue will not touch on the field used in this module.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany simonbaese Berlin

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

Comments & Activities

Production build 0.71.5 2024