Fix type
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
d248f77458
commit
3f8501fcbb
@ -248,11 +248,11 @@ class PMA_BrowseForeignersTest extends PHPUnit_Framework_TestCase
|
||||
$foreignData = array();
|
||||
$foreignData['disp_row'] = '';
|
||||
$fieldkey = 'bar';
|
||||
$data = array();
|
||||
$current_value = '';
|
||||
$_REQUEST['rownumber'] = 1;
|
||||
$_REQUEST['foreign_filter'] = '5';
|
||||
$result = PMA_getHtmlForRelationalFieldSelection(
|
||||
$db, $table, $field, $foreignData, $fieldkey, $data
|
||||
$db, $table, $field, $foreignData, $fieldkey, $current_value
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
@ -319,7 +319,7 @@ class PMA_BrowseForeignersTest extends PHPUnit_Framework_TestCase
|
||||
$foreignData['the_total'] = 5;
|
||||
$GLOBALS['cfg']['ShowAll'] = false;
|
||||
$result = PMA_getHtmlForRelationalFieldSelection(
|
||||
$db, $table, $field, $foreignData, $fieldkey, $data
|
||||
$db, $table, $field, $foreignData, $fieldkey, $current_value
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user