protected function QuickEditTestBase::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/quickedit/src/Tests/QuickEditTestBase.php \Drupal\quickedit\Tests\QuickEditTestBase::setUp()
Sets the default field storage backend for fields created during tests.
Overrides KernelTestBase::setUp
3 calls to QuickEditTestBase::setUp()
- EditorSelectionTest::setUp in core/
modules/ quickedit/ src/ Tests/ EditorSelectionTest.php - Sets the default field storage backend for fields created during tests.
- MetadataGeneratorTest::setUp in core/
modules/ quickedit/ src/ Tests/ MetadataGeneratorTest.php - Sets the default field storage backend for fields created during tests.
- QuickEditIntegrationTest::setUp in core/
modules/ editor/ src/ Tests/ QuickEditIntegrationTest.php - Sets the default field storage backend for fields created during tests.
3 methods override QuickEditTestBase::setUp()
- EditorSelectionTest::setUp in core/
modules/ quickedit/ src/ Tests/ EditorSelectionTest.php - Sets the default field storage backend for fields created during tests.
- MetadataGeneratorTest::setUp in core/
modules/ quickedit/ src/ Tests/ MetadataGeneratorTest.php - Sets the default field storage backend for fields created during tests.
- QuickEditIntegrationTest::setUp in core/
modules/ editor/ src/ Tests/ QuickEditIntegrationTest.php - Sets the default field storage backend for fields created during tests.
File
- core/
modules/ quickedit/ src/ Tests/ QuickEditTestBase.php, line 40 - Contains \Drupal\quickedit\Tests\QuickEditTestBase.
Class
- QuickEditTestBase
- Base class for testing Quick Edit functionality.
Namespace
Drupal\quickedit\TestsCode
protected function setUp() {
parent::setUp();
$this->fields = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS);
$this
->installEntitySchema('user');
$this
->installEntitySchema('entity_test');
$this
->installConfig(array(
'field',
'filter',
));
}