diff --git a/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php b/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php index add5c9c..bd3cf14 100644 --- a/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php +++ b/core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php @@ -246,7 +246,7 @@ public function testDefaultImages() { ) ); - // Confirm the preview image is shown on the node/add/article. + // Confirm the default image is shown on the node form. $file = File::load($default_images['instance_new']->id()); $this->drupalGet('node/add/article'); $this->assertRaw($file->getFilename()); @@ -289,7 +289,7 @@ public function testDefaultImages() { $this->drupalPostForm(NULL, array('files[instance_settings_default_image_fid]' => drupal_realpath($non_image[0]->uri)), t("Upload")); $this->assertText(t('The specified file text-0.txt could not be uploaded. Only files with the following extensions are allowed: png gif jpg jpeg.'), 'Non-image file cannot be used as default image.'); - // Confirm the preview image is shown on the node/add/article. + // Confirm the default image is shown on the node form. $file = File::load($default_images['field_new']->id()); $this->drupalGet('node/add/article'); $this->assertRaw($file->getFilename());