You are here

namespace Drupal\Tests\rest\Functional\EntityResource in Drupal 9

Same name in other branches
  1. 8 Drupal\Tests\rest\Functional\EntityResource
Classsort descending Location Description
EntityResourceRestTestCoverageTest core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php Checks that all core content/config entity types have REST test coverage.
EntityResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Even though there is the generic EntityResource, it's necessary for every entity type to have its own test, because they each have different fields, validation constraints, et cetera. It's not because the generic case works, that every case…
XmlEntityNormalizationQuirksTrait core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php Trait for EntityResourceTestBase subclasses testing $format='xml'.