Verified Commit cb0ba704 authored by Dave Long's avatar Dave Long
Browse files

refactor: #3565804 Move JSON:API and user search coverage for Search to the Search module

By: quietone
(cherry picked from commit 00c5ad6d)
parent e6578590
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2,11 +2,12 @@

declare(strict_types=1);

namespace Drupal\Tests\jsonapi\Functional;
namespace Drupal\Tests\search\Functional\Jsonapi;

use Drupal\Core\Url;
use Drupal\jsonapi\JsonApiSpec;
use Drupal\search\Entity\SearchPage;
use Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;

@@ -14,7 +15,7 @@
/**
 * JSON:API integration test for the "SearchPage" config entity type.
 */
#[Group('jsonapi')]
#[Group('search')]
#[RunTestsInSeparateProcesses]
class SearchPageTest extends ConfigEntityResourceTestBase {

+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Drupal\Tests\user\Functional;
namespace Drupal\Tests\search\Functional\user;

use Drupal\Tests\BrowserTestBase;
use PHPUnit\Framework\Attributes\Group;
@@ -11,7 +11,7 @@
/**
 * Verifies that sensitive information is hidden from unauthorized users.
 */
#[Group('user')]
#[Group('search')]
#[RunTestsInSeparateProcesses]
class UserSearchTest extends BrowserTestBase {