Problem/Motivation

All services and plugins provided by this module should have corresponding unit tests where applicable. Currently they are only tested via kernel tests.

Proposed resolution

  • Add unit tests for services defined by this module (where applicable)
  • Add unit tests for plugins defined by this module (where applicable)

Remaining tasks

  • Create a patch

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

  • Add corresponding unit tests for services provided by this module
  • Add corresponding unit tests for plugins provided by this module
  • Improved view mode options sorting by label (while ensuring 'default' always comes first)
  • Improved view mode values sorting
  • Various test cleanups and improvements
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hctom created an issue. See original summary.

hctom’s picture

Version: 8.x-1.x-dev » 2.x-dev
hctom’s picture

Assigned: Unassigned » hctom

Assigning this issue to me, as I am already working on the tests.

hctom’s picture

Title: Add unit tests for services » Add unit tests
Issue summary: View changes
hctom’s picture

Issue summary: View changes
hctom’s picture

Issue summary: View changes

  • hctom committed 6d52b6f on 2.x
    Issue #3161121 by hctom: Add unit tests
    

  • hctom committed 818ed6b on 8.x-1.x
    Issue #3161121 by hctom: Add unit tests
    
hctom’s picture

Status: Active » Fixed
hctom’s picture

Status: Fixed » Closed (fixed)