FileUploadJsonCookieTest.php

Same filename in other branches
  1. 9 core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
  2. 8.9.x core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php
  3. 11.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;

/**
 * @group file
 * @group #slow
 */
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 @group file @group #slow

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