Commit 4e1c0fed authored by alexpott's avatar alexpott
Browse files

Issue #2029375 by damiankloip: Rename ModuleEnable test to ModuleEnableTest.

parent a7ef6f36
......@@ -2,7 +2,7 @@
/**
* @file
* Contains Drupal\system\Tests\Module\ModuleEnable.
* Contains \Drupal\system\Tests\Module\ModuleEnableTest.
*/
namespace Drupal\system\Tests\Module;
......@@ -13,7 +13,7 @@
/**
* Tests enabling modules.
*/
class ModuleEnable extends WebTestBase {
class ModuleEnableTest extends WebTestBase {
public static function getInfo() {
return array(
......@@ -31,7 +31,7 @@ public static function getInfo() {
* be an array.
*/
function testEnableUserTwice() {
module_enable(array('user'), FALSE);
$this->container->get('module_handler')->enable(array('user'), FALSE);
$this->assertIdentical(config('system.module')->get('enabled.user'), '0');
}
......
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