Skip to content

Commit

Permalink
Item11666: updated tests
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@14462 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Mar 26, 2012
1 parent fa5ad32 commit 45e9c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTestContrib/test/unit/InitFormTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ sub test_form {
Simple description of problem</textarea>', get_formfield( 2, $text )
);
$this->assert_html_matches(
'<select name="IssueType" class="foswikiSelect" size="1"><option class="foswikiOption">Defect</option><option class="foswikiOption">Enhancement</option><option class="foswikiOption">Other</option></select>',
'<select name="IssueType" class="foswikiSelect" size="1"><option class="foswikiOption" selected="selected">Defect</option><option class="foswikiOption">Enhancement</option><option class="foswikiOption">Other</option></select>',
get_formfield( 3, $text )
);
$this->assert_html_matches(
Expand Down Expand Up @@ -245,7 +245,7 @@ sub test_tmpl_form {
Simple description of problem</textarea>', get_formfield( 2, $text )
);
$this->assert_html_matches(
'<select name="IssueType" class="foswikiSelect" size="1"><option class="foswikiOption">Defect</option><option class="foswikiOption">Enhancement</option><option class="foswikiOption">Other</option></select>',
'<select name="IssueType" class="foswikiSelect" size="1"><option class="foswikiOption" selected="selected">Defect</option><option class="foswikiOption">Enhancement</option><option class="foswikiOption">Other</option></select>',
get_formfield( 3, $text )
);
$this->assert_html_matches(
Expand Down

0 comments on commit 45e9c85

Please sign in to comment.