namespace Drupal\Tests\rest\Functional\EntityResource
Same name in other branches
Object name | File name | Summary |
---|---|---|
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ā¦ |
FormatSpecificGetBcRouteTestTrait | core/modules/rest/tests/src/Functional/EntityResource/FormatSpecificGetBcRouteTestTrait.php | Provides test methods to assert BC on format-specific GET routes. |
XmlEntityNormalizationQuirksTrait | core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php | Trait for EntityResourceTestBase subclasses testing $format='xml'. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.