Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
302
Merge Requests
302
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
ac55eb1e
Commit
ac55eb1e
authored
Aug 05, 2008
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#276200
by catch, Damien, cwgordon7 et al: fixed problem with poll module tests.
parent
7881dd19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/poll/poll.test
modules/poll/poll.test
+1
-3
No files found.
modules/poll/poll.test
View file @
ac55eb1e
...
...
@@ -34,9 +34,7 @@ class PollTestCase extends DrupalWebTestCase {
if
(
$test_preview
)
{
$this
->
drupalPost
(
NULL
,
$edit
,
t
(
'Preview'
));
foreach
(
$choices
as
$k
=>
$choice_text
)
{
$this
->
assertRaw
(
$choice_text
,
"Choice
$k
found in preview"
);
$themed_bar
=
theme
(
'poll_bar'
,
$choice_text
,
0
,
0
,
FALSE
,
FALSE
);
$this
->
assertRaw
(
$themed_bar
,
"Choice
$k
bar is themed"
);
$this
->
assertRaw
(
$choice_text
,
t
(
'Choice @choice found was in preview.'
,
array
(
'@choice'
=>
$k
)));
}
list
(
$edit
,
$index
)
=
$this
->
_pollGenerateEdit
(
$title
,
$choices
,
$index
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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