Problem/Motivation

Unfortunately, mixing annotations and attributes on the same level is a problem with PHPUnit own test discovery - the presence of the attribute short-circuits the annotation parsing, so PHPUnit test discovery does NOT find the Hook group.

Steps to reproduce

Proposed resolution

Just use annotations for now.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3521815

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

mondrake created an issue. See original summary.

mondrake’s picture

mondrake’s picture

Status: Active » Needs review
nicxvan’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me, it only affects a couple of tests so shouldn't be a problem.

  • catch committed 62ad3f04 on 11.x
    Issue #3521815 by mondrake: Fix test annotations for tests introduced by...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x, thanks!

Status: Fixed » Closed (fixed)

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