X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FForm%2FFormObjectTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FForm%2FFormObjectTest.php;h=e2c00f5d17a8734aba9f1d543ff91ae48fb6f468;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=34ebb2e79ad1f4a0f38a007412c088f2ca5a89de;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/system/tests/src/Functional/Form/FormObjectTest.php b/web/core/modules/system/tests/src/Functional/Form/FormObjectTest.php index 34ebb2e79..e2c00f5d1 100644 --- a/web/core/modules/system/tests/src/Functional/Form/FormObjectTest.php +++ b/web/core/modules/system/tests/src/Functional/Form/FormObjectTest.php @@ -2,15 +2,14 @@ namespace Drupal\Tests\system\Functional\Form; -use Drupal\system\Tests\System\SystemConfigFormTestBase; -use Drupal\form_test\FormTestObject; +use Drupal\Tests\BrowserTestBase; /** * Tests building a form from an object. * * @group Form */ -class FormObjectTest extends SystemConfigFormTestBase { +class FormObjectTest extends BrowserTestBase { /** * Modules to enable. @@ -19,19 +18,6 @@ class FormObjectTest extends SystemConfigFormTestBase { */ public static $modules = ['form_test']; - protected function setUp() { - parent::setUp(); - - $this->form = new FormTestObject($this->container->get('config.factory')); - $this->values = [ - 'bananas' => [ - '#value' => $this->randomString(10), - '#config_name' => 'form_test.object', - '#config_key' => 'bananas', - ], - ]; - } - /** * Tests using an object as the form callback. *