Problem/Motivation

After #3573954: Move common code across Drupal base test suite classes to DrupalTestCaseTrait , it should be straightforward to deprecate TestRequirementsTrait::getDrupalRoot() and just access ->root.

Proposed resolution

Do it.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3589047

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

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Seems like a good deprecation. Once this lands I assume https://www.drupal.org/node/3574112 needs to be updated to include this ticket since that's the CR it's pointing to

mondrake’s picture

#4 yes, added this issue to that CR for now.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 0673bf3 and pushed to main. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • alexpott committed 0673bf3e on main
    task: #3589047 Deprecate TestRequirementsTrait::getDrupalRoot()
    
    By:...

Status: Fixed » Closed (fixed)

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