Skip to content
Snippets Groups Projects
Commit 096b7b15 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #345632 by Dave Reid: fixed a broken test that went unnoticed by the test bots.

parent 2a421f11
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -392,7 +392,7 @@ class PagePreviewTestCase extends DrupalWebTestCase {
$this->drupalPost('node/add/page', $edit, t('Preview'));
// Check that the preview is displaying the title and body.
$this->assertTitle(t('Preview'), t('Page title is preview.'));
$this->assertTitle(t('Preview | Drupal'), t('Page title is preview.'));
$this->assertText($edit['title'], t('Title displayed.'));
$this->assertText($edit['body'], t('Body displayed.'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment