Commit 64c7b320 authored by webchick's avatar webchick

Issue #3067347 follow-up by greg.1.anderson: Fix duplicate class name

parent 2844951c
......@@ -383,7 +383,7 @@ public function testGetSchemaBase() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping->setFieldNames('entity_test', array_keys($this->storageDefinitions));
$table_mapping->setExtraColumns('entity_test', ['default_langcode']);
......@@ -491,7 +491,7 @@ public function testGetSchemaRevisionable() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping->setFieldNames('entity_test', array_keys($this->storageDefinitions));
$table_mapping->setFieldNames('entity_test_revision', array_keys($this->storageDefinitions));
......@@ -598,7 +598,7 @@ public function testGetSchemaTranslatable() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$non_data_fields = array_keys($this->storageDefinitions);
unset($non_data_fields[array_search('default_langcode', $non_data_fields)]);
$table_mapping->setFieldNames('entity_test', $non_data_fields);
......@@ -814,7 +814,7 @@ public function testGetSchemaRevisionableTranslatable() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$non_data_fields = array_keys($this->storageDefinitions);
unset($non_data_fields[array_search('default_langcode', $non_data_fields)]);
$table_mapping->setFieldNames('entity_test', $non_data_fields);
......@@ -993,7 +993,7 @@ public function testDedicatedTableSchema() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping->setFieldNames($entity_type_id, array_keys($this->storageDefinitions));
$table_mapping->setExtraColumns($entity_type_id, ['default_langcode']);
......@@ -1138,7 +1138,7 @@ public function testDedicatedTableSchemaForEntityWithStringIdentifier() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping->setFieldNames($entity_type_id, array_keys($this->storageDefinitions));
$table_mapping->setExtraColumns($entity_type_id, ['default_langcode']);
......@@ -1313,7 +1313,7 @@ public function testRequiresEntityStorageSchemaChanges(ContentEntityTypeInterfac
]);
$this->setUpStorageSchema();
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping->setFieldNames('entity_test', array_keys($this->storageDefinitions));
$table_mapping->setExtraColumns('entity_test', ['default_langcode']);
$this->storageSchema->expects($this->any())
......@@ -1516,7 +1516,7 @@ public function testonEntityTypeUpdateWithNewIndex() {
$this->setUpStorageSchema($expected);
$table_mapping = new TestDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping = new TestSqlContentDefaultTableMapping($this->entityType, $this->storageDefinitions);
$table_mapping->setFieldNames('entity_test', array_keys($this->storageDefinitions));
$table_mapping->setExtraColumns('entity_test', ['default_langcode']);
......@@ -1685,7 +1685,7 @@ public function providerSchemaCastValue() {
/**
* Extends DefaultTableMapping to allow calling its protected methods.
*/
class TestDefaultTableMapping extends DefaultTableMapping {
class TestSqlContentDefaultTableMapping extends DefaultTableMapping {
/**
* {@inheritdoc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment