installEntitySchema('entity_test_mul'); } /** * Tests that enabling translation via the API triggers schema updates. */ public function testSettingsApi() { $this->container->get('content_translation.manager')->setEnabled('entity_test_mul', 'entity_test_mul', TRUE); $result = db_field_exists('entity_test_mul_property_data', 'content_translation_source') && db_field_exists('entity_test_mul_property_data', 'content_translation_outdated'); $this->assertTrue($result, 'Schema updates correctly performed.'); } }