Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / simpletest / src / Form / SimpletestTestForm.php
index 1bf43ce4395255564e8630d55aa0fa93e604b989..69f31e4572eb8c394ef378370f0cb563c3e6ebc9 100644 (file)
@@ -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 {
 
@@ -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,