Commit c498993f authored by catch's avatar catch
Browse files

Issue #3265377 by xjm: Fix LocaleTranslatedSchemaDefinitionTest when MINIMUM_SUPPORTED_PHP is used

(cherry picked from commit e5cfd78f)
parent cf3064dc
......@@ -72,7 +72,11 @@ public function testTranslatedUpdate() {
$user = $this->drupalCreateUser(['administer software updates']);
$this->drupalLogin($user);
$update_url = $GLOBALS['base_url'] . '/update.php';
// Collect strings from the PHP warning page, if applicable, as well as the
// main update page.
$this->drupalGet($update_url, ['external' => TRUE]);
$this->updateRequirementsProblem();
/** @var \Drupal\locale\StringDatabaseStorage $stringStorage */
$stringStorage = \Drupal::service('locale.storage');
......@@ -91,8 +95,6 @@ public function testTranslatedUpdate() {
// markup and a link instead of specific text because text may be
// translated.
$this->drupalGet($update_url . '/selection', ['external' => TRUE]);
$this->updateRequirementsProblem();
$this->drupalGet($update_url . '/selection', ['external' => TRUE]);
$this->assertSession()->responseContains('messages--status');
$this->assertSession()->linkByHrefNotExists('fr/update.php/run', 'No link to run updates.');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment