Controller Test: Dependency Injection

Created on 25 August 2023, about 1 year ago
Updated 21 September 2023, about 1 year ago

Problem/Motivation

I like code with test coverage. Adding a unit test for the controller would be a good thing. The Moderation Note class is used directly, instead of entity_type.manger getStorage('moderation_note')

Steps to reproduce

Proposed resolution

Use Dependency Injection and write some tests.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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

Comments & Activities

Production build 0.71.5 2024