Problem/Motivation
After #2850635: Merge \Drupal\Tests\Core\Common\AttributesTest and \Drupal\Tests\Core\Template\AttributeTest there are two tests left in Drupal\Tests\Core\Common namespace. These are testing classes in the Drupal\Component\Utility namespace. The tests should move to Drupal\Tests\Component\Utility, which already has some existing tests.
Steps to reproduce
Proposed resolution
Move \Drupal\Tests\Core\Common\DiffArrayTest to \Drupal\Tests\Component\Utility\DiffArrayTest
Move \Drupal\Tests\Core\Common\TagsTest to \Drupal\Tests\Component\Utility\TagsTest
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3618406
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
Comment #3
aayushpathak commentedWorking on it !
Comment #5
aayushpathak commentedmoved DiffArrayTest and TagsTest from Drupal\Tests\Core\Common to Drupal\Tests\Component\Utility, updating their namespace, group attribute, and base class (UnitTestCase → PHPUnit\Framework\TestCase) as required for component tests. Both tests pass locally. The one pipeline failure is an unrelated pre-existing issue, not caused by this change.