X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FForm%2FAlterTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FForm%2FAlterTest.php;h=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=216e5d2014037a23022926b917909acb0bb14646;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/system/src/Tests/Form/AlterTest.php b/web/core/modules/system/src/Tests/Form/AlterTest.php deleted file mode 100644 index 216e5d201..000000000 --- a/web/core/modules/system/src/Tests/Form/AlterTest.php +++ /dev/null @@ -1,39 +0,0 @@ -drupalGet('form-test/alter'); - // Ensure that the order is first by module, then for a given module, the - // id-specific one after the generic one. - $expected = [ - 'block_form_form_test_alter_form_alter() executed.', - 'form_test_form_alter() executed.', - 'form_test_form_form_test_alter_form_alter() executed.', - 'system_form_form_test_alter_form_alter() executed.', - ]; - $content = preg_replace('/\s+/', ' ', Xss::filter($this->content, [])); - $this->assert(strpos($content, implode(' ', $expected)) !== FALSE, 'Form alter hooks executed in the expected order.'); - } - -}