22 calls to EntityDefinitionTestTrait::applyEntityUpdates() in Drupal 8
- ContentEntityNonRevisionableFieldTest::testMultiColumnNonRevisionableBaseField in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ContentEntityNonRevisionableFieldTest.php - Tests multi column non revisionable base field for revisionable entity.
- DefaultTableMappingIntegrationTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ DefaultTableMappingIntegrationTest.php - EntityDefinitionTestTrait::enableNewEntityType in core/
modules/ system/ tests/ src/ Functional/ Entity/ Traits/ EntityDefinitionTestTrait.php - Enables a new entity type definition.
- EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating and deleting a base field if entities exist.
- EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating, updating, and deleting a base field if no entities exist.
- EntityDefinitionUpdateTest::testBaseFieldDeleteWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests deleting a base field when it has existing data.
- EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a base field when it has existing data.
- EntityDefinitionUpdateTest::testBaseFieldUpdateWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a base field when it has existing data.
- EntityDefinitionUpdateTest::testBaseFieldWithoutLabelCreateUpdateDelete in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating, updating, and deleting a base field with no label set
- EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating and deleting a bundle field if entities exist.
- EntityDefinitionUpdateTest::testBundleFieldCreateUpdateDeleteWithoutData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests creating, updating, and deleting a bundle field if no entities exist.
- EntityDefinitionUpdateTest::testBundleFieldDeleteWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests deleting a bundle field when it has existing data.
- EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a bundle field when the entity type schema has changed.
- EntityDefinitionUpdateTest::testBundleFieldUpdateWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests updating a bundle field when it has existing data.
- EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Ensures that a new field and index on a shared table are created.
- EntityTestResourceTestBase::createEntity in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestResourceTestBase.php - Creates the entity to be tested.
- UpdateApiEntityDefinitionUpdateTest::testStatusReport in core/
modules/ system/ tests/ src/ Functional/ Entity/ Update/ UpdateApiEntityDefinitionUpdateTest.php - Tests that entity updates are correctly reported in the status report page.
- ViewsEntitySchemaSubscriberIntegrationTest::testBaseTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming base tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testDataTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming data tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testRevisionBaseTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming revision tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testRevisionDataTableRename in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests that renaming revision tables adapts the views.
- ViewsEntitySchemaSubscriberIntegrationTest::testViewSaveException in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - Tests the case when a view could not be updated automatically.