diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Form/SimpletestResultsForm.php b/core/modules/simpletest/lib/Drupal/simpletest/Form/SimpletestResultsForm.php
index daa9660..a166422 100644
--- a/core/modules/simpletest/lib/Drupal/simpletest/Form/SimpletestResultsForm.php
+++ b/core/modules/simpletest/lib/Drupal/simpletest/Form/SimpletestResultsForm.php
@@ -9,7 +9,6 @@
 
 use Drupal\Core\Database\Connection;
 use Drupal\Core\Form\FormBase;
-use Drupal\Core\Form\FormBuilderInterface;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 use Symfony\Component\HttpFoundation\RedirectResponse;
 
@@ -33,19 +32,11 @@ class SimpletestResultsForm extends FormBase {
   protected $database;
 
   /**
-   * The form builder service.
-   *
-   * @var \Drupal\Core\Form\FormBuilderInterface
-   */
-  protected $formBuilder;
-
-  /**
    * {@inheritdoc}
    */
   public static function create(ContainerInterface $container) {
     return new static(
-      $container->get('database'),
-      $container->get('form_builder')
+      $container->get('database')
     );
   }
 
@@ -54,12 +45,9 @@ public static function create(ContainerInterface $container) {
    *
    * @param \Drupal\Core\Database\Connection $database
    *   The database connection service.
-   * @param \Drupal\Core\Form\FormBuilderInterface $form_builder
-   *   The form builder service.
    */
-  public function __construct(Connection $database, FormBuilderInterface $form_builder) {
+  public function __construct(Connection $database) {
     $this->database = $database;
-    $this->formBuilder = $form_builder;
     // Initialize image mapping property.
     $image_pass = array(
       '#theme' => 'image',
@@ -269,13 +257,19 @@ public function submitForm(array &$form, array &$form_state) {
       return;
     }
 
+    $form_execute = array();
     $form_state_execute = array('values' => array());
     foreach ($classes as $class) {
       $form_state_execute['values'][$class] = 1;
     }
 
     // Submit the simpletest test form to rerun the tests.
-    $this->formBuilder->submitForm('Drupal\simpletest\Form\SimpletestTestForm', $form_state_execute);
+    // Under normal circumstances, a form object's submitForm() should never be
+    // called directly, FormBuilder::submitForm() should be called instead.
+    // However, it sets $form_state['programmed'], which disables the Batch API.
+    $simpletest_test_form = new SimpletestTestForm();
+    $simpletest_test_form->buildForm($form_execute, $form_state_execute);
+    $simpletest_test_form->submitForm($form_execute, $form_state_execute);
     $form_state['redirect_route'] = $form_state_execute['redirect_route'];
   }
 
