Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
096b7b15
Commit
096b7b15
authored
Dec 12, 2008
by
Dries Buytaert
Browse files
- Patch
#345632
by Dave Reid: fixed a broken test that went unnoticed by the test bots.
parent
2a421f11
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.test
View file @
096b7b15
...
...
@@ -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.'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment