From 9b4c2f03babacff08b6e51398a85c720b673d1bb Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Thu, 30 Jul 2020 09:38:20 +0100
Subject: [PATCH] Issue #2691389 by jungle, ravi.shankar, Hardik_Patel_12,
 mrinalini9: Dont translate 'Save and continue' in
 InstallerTestBase::setUpLanguage

---
 .../Drupal/FunctionalTests/Installer/InstallerTestBase.php   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
index 4268fbce6b45..d60b5bf0617c 100644
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
@@ -214,12 +214,15 @@ protected function visitInstaller() {
 
   /**
    * Installer step: Select language.
+   *
+   * @see \Drupal\Core\Installer\Form\SelectLanguageForm
    */
   protected function setUpLanguage() {
     $edit = [
       'langcode' => $this->langcode,
     ];
-    $this->drupalPostForm(NULL, $edit, $this->translations['Save and continue']);
+    // The 'Select Language' step is always English.
+    $this->drupalPostForm(NULL, $edit, 'Save and continue');
   }
 
   /**
-- 
GitLab