Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php, $account_bundle
variable never used.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3165794-2.patch | 580 bytes | shetpooja04 |
Comments
Comment #2
shetpooja04 CreditAttribution: shetpooja04 at QED42 commentedCommit ID: e59ec93f
Link: https://git.drupalcode.org/project/drupal/-/commit/e59ec93f502e8e63e3b2e2006ff47f21ced19228
For Issue: https://www.drupal.org/project/drupal/issues/2843147 the changes were made in this issue
File: core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
$account_bundle is never getting used
Comment #3
longwave$account is only used in the test method to set up an entity reference, the bundle isn't needed, therefore this variable is redundant and can be removed.
Comment #4
catchCommitted d2e7c1f and pushed to 9.1.x. Thanks!