function WorkspacesFileItemTest::testFileItem
Same name in other branches
- 10 core/modules/workspaces/tests/src/Kernel/WorkspacesFileItemTest.php \Drupal\Tests\workspaces\Kernel\WorkspacesFileItemTest::testFileItem()
Overrides FileItemTest::testFileItem
File
-
core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspacesFileItemTest.php, line 55
Class
- WorkspacesFileItemTest
- Tests using entity fields of the file field type in a workspace.
Namespace
Drupal\Tests\workspaces\KernelCode
public function testFileItem() : void {
// Ignore entity types that are not being tested, in order to fully re-use
// the parent test method.
$this->ignoreEntityType('entity_test');
$this->ignoreEntityType('entity_view_display');
parent::testFileItem();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.