Verified Commit 2ab02a9e authored by Jess's avatar Jess
Browse files

Issue #3525074 by quietone: Move JSON:API coverage for Contact to the Contact module

(cherry picked from commit b0d5a9a8)
parent 9ed49bee
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2,16 +2,17 @@

declare(strict_types=1);

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

use Drupal\jsonapi\JsonApiSpec;
use Drupal\contact\Entity\ContactForm;
use Drupal\Core\Url;
use Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase;

/**
 * JSON:API integration test for the "ContactForm" config entity type.
 *
 * @group jsonapi
 * @group contact
 */
class ContactFormTest extends ConfigEntityResourceTestBase {

+3 −2
Original line number Diff line number Diff line
@@ -2,19 +2,20 @@

declare(strict_types=1);

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

use Drupal\Component\Utility\NestedArray;
use Drupal\contact\Entity\ContactForm;
use Drupal\contact\Entity\Message;
use Drupal\Core\Url;
use Drupal\Tests\jsonapi\Functional\ResourceTestBase;
use GuzzleHttp\RequestOptions;
use Symfony\Component\Routing\Exception\RouteNotFoundException;

/**
 * JSON:API integration test for the "Message" content entity type.
 *
 * @group jsonapi
 * @group contact
 */
class MessageTest extends ResourceTestBase {