class MediaResourceTestBase
Same name in this branch
- 8.9.x core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase
Same name in other branches
- 9 core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase
- 10 core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase
- 11.x core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Core\Test\FunctionalTestSetupTrait, \Drupal\Tests\UiHelperTrait, \Drupal\Core\Test\TestSetupTrait, \Drupal\Tests\block\Traits\BlockCreationTrait, \Drupal\FunctionalTests\AssertLegacyTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\node\Traits\NodeCreationTrait, \Drupal\Tests\node\Traits\ContentTypeCreationTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\user\Traits\UserCreationTrait, \Drupal\Tests\XdebugRequestTrait, \Drupal\Tests\PhpunitCompatibilityTrait
- class \Drupal\Tests\rest\Functional\ResourceTestBase extends \Drupal\Tests\BrowserTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase extends \Drupal\Tests\rest\Functional\ResourceTestBase
- class \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase extends \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase uses \Drupal\Tests\rest\Functional\BcTimestampNormalizerUnixTestTrait
- class \Drupal\Tests\rest\Functional\EntityResource\Media\MediaResourceTestBase extends \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase
- class \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase extends \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase uses \Drupal\Tests\rest\Functional\BcTimestampNormalizerUnixTestTrait
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase extends \Drupal\Tests\rest\Functional\ResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase extends \Drupal\Tests\BrowserTestBase
Expanded class hierarchy of MediaResourceTestBase
Deprecated
in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\media\Functional\Rest\MediaResourceTestBase instead.
See also
https://www.drupal.org/node/2971931
File
-
core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ Media/ MediaResourceTestBase.php, line 15
Namespace
Drupal\Tests\rest\Functional\EntityResource\MediaView source
abstract class MediaResourceTestBase extends MediaResourceTestBaseReal {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.