StatusChecker::getLastRunTime() is only tested indirectly

Created on 19 July 2023, over 1 year ago
Updated 6 September 2023, about 1 year ago

Problem/Motivation

\Drupal\automatic_updates\Validation\StatusChecker::getLastRunTime is only tested because we test automatic_updates_cron but since it is public method on our service we should test it directly.

Steps to reproduce

Proposed resolution

Test it in \Drupal\Tests\automatic_updates\Kernel\StatusCheck\StatusCheckerTest

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

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

Comments & Activities

Production build 0.71.5 2024