Issue #1945326 by tim.plunkett: Rename \Drupal\system\Tests\System\SystemConfigFormBase to \Drupal\system\Tests\System\SystemConfigFormTestBase.
parent
fee1152503
commit
4ac059e5e9
|
@ -7,13 +7,13 @@
|
|||
|
||||
namespace Drupal\system\Tests\Form;
|
||||
|
||||
use Drupal\system\Tests\System\SystemConfigFormBase;
|
||||
use Drupal\system\Tests\System\SystemConfigFormTestBase;
|
||||
use Drupal\form_test\FormTestObject;
|
||||
|
||||
/**
|
||||
* Tests building a form from an object.
|
||||
*/
|
||||
class FormObjectTest extends SystemConfigFormBase {
|
||||
class FormObjectTest extends SystemConfigFormTestBase {
|
||||
|
||||
/**
|
||||
* Modules to enable.
|
||||
|
|
|
@ -11,7 +11,7 @@ use Drupal\simpletest\WebTestBase;
|
|||
use Drupal\form_test\SystemConfigFormTestForm;
|
||||
|
||||
/**
|
||||
* Tests the SystemConfigFormBase class.
|
||||
* Tests the SystemConfigFormTestBase class.
|
||||
*/
|
||||
class SystemConfigFormTest extends WebTestBase {
|
||||
|
||||
|
@ -25,13 +25,13 @@ class SystemConfigFormTest extends WebTestBase {
|
|||
public static function getInfo() {
|
||||
return array(
|
||||
'name' => 'SystemConfigmForm tests',
|
||||
'description' => 'Tests the SystemConfigFormBase class.',
|
||||
'description' => 'Tests the SystemConfigFormTestBase class.',
|
||||
'group' => 'Form API',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests the SystemConfigFormBase class.
|
||||
* Tests the SystemConfigFormTestBase class.
|
||||
*/
|
||||
function testSystemConfigForm() {
|
||||
$this->drupalGet('form-test/system-config-form');
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Definition of Drupal\system\Tests\System\SystemConfigFormBase.
|
||||
* Definition of Drupal\system\Tests\System\SystemConfigFormTestBase.
|
||||
*/
|
||||
|
||||
namespace Drupal\system\Tests\System;
|
||||
|
@ -15,7 +15,7 @@ use Drupal\simpletest\WebTestBase;
|
|||
* @see UserAdminSettingsFormTest
|
||||
* For a full working implementation.
|
||||
*/
|
||||
abstract class SystemConfigFormBase extends WebTestBase {
|
||||
abstract class SystemConfigFormTestBase extends WebTestBase {
|
||||
/**
|
||||
* Form ID to use for testing.
|
||||
*
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
namespace Drupal\user\Tests;
|
||||
|
||||
use Drupal\system\Tests\System\SystemConfigFormBase;
|
||||
use Drupal\system\Tests\System\SystemConfigFormTestBase;
|
||||
|
||||
class UserAdminSettingsFormTest extends SystemConfigFormBase {
|
||||
class UserAdminSettingsFormTest extends SystemConfigFormTestBase {
|
||||
|
||||
public static function getInfo() {
|
||||
return array(
|
||||
|
|
Loading…
Reference in New Issue