Skip to content
Snippets Groups Projects

Issue #2707689: NodeForm::actions() checks for delete access on new entities

1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
  • e5cfd78f
    Issue #3265377 by xjm: Fix LocaleTranslatedSchemaDefinitionTest when MINIMUM_SUPPORTED_PHP is used · e5cfd78f
    catch authored
@@ -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.');
}
Loading