Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / image / src / Tests / ImageFieldTestBase.php
index eec7f7bba9cd5bb1279b2b46fb5cdb948fccc7b5..c023917e363c7b240ca8f4cd815b3f728e99e0b0 100644 (file)
@@ -90,10 +90,10 @@ abstract class ImageFieldTestBase extends WebTestBase {
       'title[0][value]' => $this->randomMachineName(),
     ];
     $edit['files[' . $field_name . '_0]'] = drupal_realpath($image->uri);
-    $this->drupalPostForm('node/add/' . $type, $edit, t('Save and publish'));
+    $this->drupalPostForm('node/add/' . $type, $edit, t('Save'));
     if ($alt) {
       // Add alt text.
-      $this->drupalPostForm(NULL, [$field_name . '[0][alt]' => $alt], t('Save and publish'));
+      $this->drupalPostForm(NULL, [$field_name . '[0][alt]' => $alt], t('Save'));
     }
 
     // Retrieve ID of the newly created node from the current URL.