diff --git a/core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormBase.php b/core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormBase.php index aeeb053..87042b7 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormBase.php @@ -45,12 +45,8 @@ public function setUp() { $this->values = array(); parent::setUp(); - - $this->setUpSystemConfigForm(); } - abstract function setUpSystemConfigForm(); - /** * Submit the system_config_form ensure the configuration has expected values. */ diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php b/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php index 2f5960c..e74a8ea 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php @@ -19,7 +19,8 @@ public static function getInfo() { ); } - function setUpSystemConfigForm () { + public function setUp() { + parent::setUp(); module_load_include('admin.inc', 'user'); $this->form_id = 'user_admin_settings'; $this->values = array(