Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
  • Loading branch information
kb-yashodha committed Aug 10, 2014
1 parent b2f80eb commit 40821cf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/libraries/PMA_designer_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ public function testGetHtmlForSchemaExport()
'<select name="pdf_orientation" id="select_pdf_orientation">',
$result
);
$this->assertContains('<option value="L">Landscape</option>', $result);
$this->assertContains(
'<option value="L" selected="selected">Landscape</option>',
$result
);
$this->assertContains('<option value="P">Portrait</option>', $result);

// paper size
Expand All @@ -214,7 +217,10 @@ public function testGetHtmlForSchemaExport()
$result
);
$this->assertContains('<option value="A3">A3</option>', $result);
$this->assertContains('<option value="A4">A4</option>', $result);
$this->assertContains(
'<option value="A4" selected="selected">A4</option>',
$result
);
}
}
?>

0 comments on commit 40821cf

Please sign in to comment.