Follow-up to #2921860: \Drupal\simpletest\NodeCreationTrait @deprecated references new class in the incorrect namespace

In \Drupal\simpletest\ContentTypeCreationTrait there is

 * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
 *   Drupal\Tests\ContentTypeCreationTrait instead.
 *
 * @see https://www.drupal.org/node/2884454
 */

but there is no class "Drupal\Tests\ContentTypeCreationTrait" it should probably reference \Drupal\Tests\node\Traits\ContentTypeCreationTrait instead.

CommentFileSizeAuthor
#2 2921942-2.patch617 byteslawxen

Comments

caseylau created an issue. See original summary.

lawxen’s picture

StatusFileSize
new617 bytes
lawxen’s picture

Status: Reviewed & tested by the community » Needs review

I shouldn't make it's status become 'Reviewed and tested' by myself

tedbow’s picture

Status: Needs review » Reviewed & tested by the community

@caseylau thanks for finding and filing this 👍! Looks good RTBC!

  • catch committed 3fd58b8 on 8.5.x
    Issue #2921942 by caseylau: \Drupal\simpletest\ContentTypeCreationTrait...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.5.x, thanks!

Status: Fixed » Closed (fixed)

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