FileUploadJsonCookieTest.php

Same filename and directory in other branches
  1. 10 core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
  2. 11.x core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
  3. 9 core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
  4. 8.9.x core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php

Namespace

Drupal\Tests\file\Functional

File

core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\file\Functional;

use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
use Drupal\Tests\rest\Functional\FileUploadResourceTestBase;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;

/**
 * Tests File Upload Json Cookie.
 */
class FileUploadJsonCookieTest extends FileUploadResourceTestBase {
  use CookieResourceTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'cookie';
  
  /**
   * Entity type ID for this storage.
   *
   * @var string
   */
  protected static string $entityTypeId;

}

Classes

Title Deprecated Summary
FileUploadJsonCookieTest Tests File Upload Json Cookie.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.