Problem/Motivation

AssertButtonsTrait is under namespace \Drupal\Tests\node\Functional

Traits: The third class is traits. It is possible to write a trait which will be discovered and can be used by the various different test types. Each test suite will discover the trait if it is placed in the tests/src/Traits directory, and the trait will have a namespace of \Drupal\Tests\$extension\Traits.

-- PHPUnit file structure, namespace, and required metadata

Proposed resolution

Move core/modules/node/tests/src/Functional/AssertButtonsTrait.php into core/modules/node/tests/src/Traits

CommentFileSizeAuthor
#2 move-trait-3079860-2.patch1.62 KBjungle

Comments

jungle created an issue. See original summary.

jungle’s picture

Assigned: jungle » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.62 KB

Fix relevant deprecated messsges in node/src/Tests/AssertButtonsTrait.php

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

jungle’s picture

Status: Needs review » Closed (won't fix)