Fix more failing tests

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-08-24 21:52:34 +05:30
parent bd378db70d
commit ef3da7a79e

View File

@ -121,16 +121,12 @@ class PMA_Pdf_Relation_Schema_Test extends PHPUnit_Framework_TestCase
);
//let fetchRow have more results
for ($index=0; $index<10; ++$index) {
for ($index=0; $index<8; ++$index) {
$dbi->expects($this->at($index))
->method('fetchRow')
->will($this->returnValue($fetchRowReturn));
}
$dbi->expects($this->at(10))
->method('fetchRow')
->will($this->returnValue($fetchRowReturn));
$fields_info = array(
"Host" => array(
"Field" => "host",