Using dependency injection makes classes better unit testable. In preparation of more unit tests, several services have received DI.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sutharsan created an issue. See original summary.

Sutharsan’s picture

Status: Active » Needs review
FileSize
9.3 KB
Sutharsan’s picture

Updated patch.

  • Sutharsan committed cb351c2 on 8.x-3.x
    Issue #2943681 by Sutharsan: Use dependency injection where possible
    
Sutharsan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.