Commit c198b2bc authored by catch's avatar catch
Browse files

task: #3618406 Move DiffArrayTest and TagsTest to the correct namespace

By: mstrelan
By: aayushpathak
By: dcam
By: ishfaqafridi85
(cherry picked from commit f03e91da)
parent 015d03ed
Loading
Loading
Loading
Loading
Loading
+6 −4
Changes for core/tests/Drupal/Tests/Component/Utility/DiffArrayTest.php: 6 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -2,17 +2,19 @@

declare(strict_types=1);

namespace Drupal\Tests\Core\Common;
namespace Drupal\Tests\Component\Utility;

use Drupal\Component\Utility\DiffArray;
use Drupal\Tests\UnitTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;

/**
 * Tests the DiffArray helper class.
 */
#[Group('Common')]
class DiffArrayTest extends UnitTestCase {
#[CoversClass(DiffArray::class)]
#[Group('Utility')]
class DiffArrayTest extends TestCase {

  /**
   * Array to use for testing.
+6 −4
Changes for core/tests/Drupal/Tests/Component/Utility/TagsTest.php: 6 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -2,18 +2,20 @@

declare(strict_types=1);

namespace Drupal\Tests\Core\Common;
namespace Drupal\Tests\Component\Utility;

use Drupal\Component\Utility\Tags;
use Drupal\Tests\UnitTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;

// cspell:ignore sloopal troopal
/**
 * Tests explosion and implosion of autocomplete tags.
 */
#[Group('Common')]
class TagsTest extends UnitTestCase {
#[CoversClass(Tags::class)]
#[Group('Utility')]
class TagsTest extends TestCase {

  /**
   * A list of valid tags.