Commit 031f6735 authored by webchick's avatar webchick
Browse files

Issue #1857074 by yched: Add missing update + test for entity.module.

parent f00a7bb6
......@@ -80,5 +80,13 @@ public function testBasicMinimalUpgrade() {
// Confirm that no {menu_links} entry exists for user/autocomplete.
$result = db_query('SELECT COUNT(*) FROM {menu_links} WHERE link_path = :user_autocomplete', array(':user_autocomplete' => 'user/autocomplete'))->fetchField();
$this->assertFalse($result, 'No {menu_links} entry exists for user/autocomplete');
// Verify that all required modules are enabled.
$enabled = module_list();
$required = array_filter(system_rebuild_module_data(), function ($data) {
return !empty($data->info['required']);
});
$this->assertEqual(array_diff_key($required, $enabled), array());
}
}
......@@ -2330,6 +2330,13 @@ function system_update_8041() {
));
}
/**
* Enable the new Entity module.
*/
function system_update_8042() {
update_module_enable(array('entity'));
}
/**
* @} End of "defgroup updates-7.x-to-8.x".
* The next series of updates should start at 9000.
......
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