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 @@ ...@@ -2,7 +2,7 @@
/** /**
* @file * @file
* Contains Drupal\system\Tests\Module\ModuleEnable. * Contains \Drupal\system\Tests\Module\ModuleEnableTest.
*/ */
namespace Drupal\system\Tests\Module; namespace Drupal\system\Tests\Module;
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
/** /**
* Tests enabling modules. * Tests enabling modules.
*/ */
class ModuleEnable extends WebTestBase { class ModuleEnableTest extends WebTestBase {
public static function getInfo() { public static function getInfo() {
return array( return array(
...@@ -31,7 +31,7 @@ public static function getInfo() { ...@@ -31,7 +31,7 @@ public static function getInfo() {
* be an array. * be an array.
*/ */
function testEnableUserTwice() { 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'); $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