diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php b/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php index 1ee2278..1a20404 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php @@ -33,14 +33,14 @@ public static function getInfo() { * Tests expected behavior of setUp(). */ function testSetUp() { - $module = 'entity_test'; + $modules = array('entity', 'entity_test'); $table = 'entity_test'; // Verify that specified $modules have been loaded. - $this->assertTrue(function_exists('entity_test_permission'), "$module.module was loaded."); + $this->assertTrue(function_exists('entity_test_permission'), 'entity_test.module was loaded.'); // Verify that there is a fixed module list. - $this->assertIdentical(array_keys(\Drupal::moduleHandler()->getModuleList()), array($module)); - $this->assertIdentical(\Drupal::moduleHandler()->getImplementations('permission'), array($module)); + $this->assertIdentical(array_keys(\Drupal::moduleHandler()->getModuleList()), $modules); + $this->assertIdentical(\Drupal::moduleHandler()->getImplementations('permission'), $modules); // Verify that no modules have been installed. $this->assertFalse(db_table_exists($table), "'$table' database table not found.");