$this->assertTrue($schema_handler->tableExists($dedicated_deleted_revision_table_name),'A dedicated revision table was created for the deleted new_base_field.');
$this->assertEmpty($deleted_storage_definitions,'The base field has been deleted.');
$this->assertFalse($schema_handler->tableExists($dedicated_deleted_table_name),'A dedicated field table was deleted after new_base_field was purged.');
$this->assertFalse($schema_handler->tableExists($dedicated_deleted_revision_table_name),'A dedicated field revision table was deleted after new_base_field was purged.');
}
}
/**
* Test cases for ::testBaseFieldDeleteWithExistingData.
$this->assertFalse($db_schema->fieldExists('entity_test_update','new_base_field'),"New field 'new_base_field' does not exist before applying the update.");
$this->assertFalse($db_schema->fieldExists('entity_test_update','another_base_field'),"New field 'another_base_field' does not exist before applying the update.");
$this->assertTrue($db_schema->fieldExists('entity_test_update','new_base_field'),"New field 'new_base_field' has been created on the 'entity_test_update' table.");
$this->assertTrue($db_schema->fieldExists('entity_test_update','another_base_field'),"New field 'another_base_field' has been created on the 'entity_test_update' table.");
// Check that the initial values have been applied.