Voting API uses public static $modules, but it should be protected static $modules, as per the definitions on the base classes. While this isn't enforced in Drupal 8 - it's currently just bad practice - it will be in Drupal 9.

CommentFileSizeAuthor
modules-visibility.patch952 bytesTR
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR created an issue. See original summary.

pifagor’s picture

Status: Needs review » Reviewed & tested by the community

  • pifagor committed bbb0872 on 8.x-3.x authored by TR
    Issue #3134980 by TR, pifagor: Visibility of $modules in tests is wrong
    
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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