diff --git a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php index 5a04505..eaa62fe 100644 --- a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php +++ b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php @@ -109,7 +109,7 @@ function testEnableModulesInstall() { $this->assertFalse(db_table_exists($table), "'$table' database table not found."); $schema = drupal_get_schema_unprocessed($module, $table); - $this->assertFalse($schema, "'$table' table schema not found."); + $this->assertTrue($schema, "'$table' table schema found."); // Install the module. \Drupal::service('module_installer')->install(array($module)); @@ -182,7 +182,7 @@ function testInstallSchema() { } $this->assertFalse(db_table_exists($table), "'$table' database table not found."); $schema = drupal_get_schema_unprocessed($module, $table); - $this->assertFalse($schema, "'$table' table schema not found."); + $this->assertTrue($schema, "'$table' table schema found."); // Verify that the same table can be installed after enabling the module. $this->enableModules(array($module)); diff --git a/core/modules/system/src/Tests/Entity/EntityLanguageTestBase.php b/core/modules/system/src/Tests/Entity/EntityLanguageTestBase.php index d453b92..ad6708c 100644 --- a/core/modules/system/src/Tests/Entity/EntityLanguageTestBase.php +++ b/core/modules/system/src/Tests/Entity/EntityLanguageTestBase.php @@ -61,6 +61,7 @@ protected function setUp() { $this->installConfig(array('language')); // Create the test field. + module_load_install('entity_test'); entity_test_install(); // Enable translations for the test entity type.