Loading core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php +4 −2 Original line number Diff line number Diff line Loading @@ -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'); Loading @@ -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.'); } Loading Loading
core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php +4 −2 Original line number Diff line number Diff line Loading @@ -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'); Loading @@ -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.'); } Loading