Unit test getting failed.

Created on 26 June 2023, over 1 year ago
Updated 31 October 2023, about 1 year ago

Problem/Motivation

Getting following notices, while running tests.

Remaining self deprecation notices (2)

  1x: The Drupal\Tests\search404\Kernel\ValidateD7MigrationStateTest::$modules property must be declared protected. See https://www.drupal.org/node/2909426
    1x in DrupalListener::startTest from Drupal\Tests\Listeners

  1x: The Drupal\Tests\search404\Kernel\ValidateD6MigrationStateTest::$modules property must be declared protected. See https://www.drupal.org/node/2909426
    1x in DrupalListener::startTest from Drupal\Tests\Listeners

Steps to reproduce

Run following command

./vendor/bin/phpunit -c core/ --group search404

Proposed resolution

$modules property must be declared protected.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India samit.310@gmail.com

Live updates comments and jobs are added and updated live.
  • testing

    Used for Documentation issues related to testing and test development

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024