X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsimpletest%2Fsrc%2FForm%2FSimpletestTestForm.php;h=69f31e4572eb8c394ef378370f0cb563c3e6ebc9;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=f954546eb1605a58c8ff19e28ec208e1c586db31;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/simpletest/src/Form/SimpletestTestForm.php b/web/core/modules/simpletest/src/Form/SimpletestTestForm.php index f954546eb..69f31e457 100644 --- a/web/core/modules/simpletest/src/Form/SimpletestTestForm.php +++ b/web/core/modules/simpletest/src/Form/SimpletestTestForm.php @@ -10,6 +10,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** * List tests arranged in groups that can be selected and run. + * + * @internal */ class SimpletestTestForm extends FormBase { @@ -71,7 +73,7 @@ class SimpletestTestForm extends FormBase { $form['clean'] = [ '#type' => 'fieldset', '#title' => $this->t('Clean test environment'), - '#description' => $this->t('Remove tables with the prefix "simpletest" and temporary directories that are left over from tests that crashed. This is intended for developers when creating tests.'), + '#description' => $this->t('Remove tables with the prefix "test" followed by digits and temporary directories that are left over from tests that crashed. This is intended for developers when creating tests.'), '#weight' => 200, ]; $form['clean']['op'] = [ @@ -108,6 +110,10 @@ class SimpletestTestForm extends FormBase { ]; $form['tests'] = [ + '#cache' => [ + 'keys' => ['simpletest_ui_table'], + 'contexts' => ['test_discovery'], + ], '#type' => 'table', '#id' => 'simpletest-form-table', '#tableselect' => TRUE,