You are here

class NodeJsonCookieTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonCookieTest
  2. 9 core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php \Drupal\Tests\node\Functional\Rest\NodeJsonCookieTest

@group rest

Hierarchy

Expanded class hierarchy of NodeJsonCookieTest

File

core/modules/node/tests/src/Functional/Rest/NodeJsonCookieTest.php, line 10

Namespace

Drupal\Tests\node\Functional\Rest
View source
class NodeJsonCookieTest extends NodeResourceTestBase {
  use CookieResourceTestTrait;

  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';

  /**
   * {@inheritdoc}
   */
  protected static $auth = 'cookie';

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

}

Members

Namesort descending Modifiers Type Description Overrides
CookieResourceTestTrait::$csrfToken protected property The CSRF token.
CookieResourceTestTrait::$logoutToken protected property The logout token.
CookieResourceTestTrait::$sessionCookie protected property The session cookie.
CookieResourceTestTrait::assertAuthenticationEdgeCases protected function
CookieResourceTestTrait::assertResponseWhenMissingAuthentication protected function
CookieResourceTestTrait::getAuthenticationRequestOptions protected function
CookieResourceTestTrait::initAuthentication protected function
NodeJsonCookieTest::$auth protected static property
NodeJsonCookieTest::$defaultTheme protected property
NodeJsonCookieTest::$format protected static property
NodeJsonCookieTest::$mimeType protected static property
NodeResourceTestBase::$entity protected property
NodeResourceTestBase::$entityTypeId protected static property
NodeResourceTestBase::$modules protected static property 3
NodeResourceTestBase::$patchProtectedFieldNames protected static property
NodeResourceTestBase::createEntity protected function 1
NodeResourceTestBase::getExpectedNormalizedEntity protected function 1
NodeResourceTestBase::getExpectedUnauthorizedAccessMessage protected function
NodeResourceTestBase::getNormalizedPostEntity protected function
NodeResourceTestBase::setUpAuthorization protected function 1
NodeResourceTestBase::testPatchPath public function Tests PATCHing a node's path with and without 'create url aliases'. 6