Fix more failing tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
a19c8a2e83
commit
3ef4a744c6
@ -20,6 +20,16 @@ require_once 'libraries/core.lib.php';
|
||||
*/
|
||||
class PMA_Form_Processing_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* Prepares environment for the test.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 1;
|
||||
$GLOBALS['cfg']['ServerDefault'] = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for process_formset()
|
||||
|
||||
@ -33,6 +33,8 @@ class PMA_DesignerTest extends PHPUnit_Framework_TestCase
|
||||
$GLOBALS['cfg']['ServerDefault'] = 1;
|
||||
$GLOBALS['cfg']['PDFPageSizes'] = array('A3', 'A4');
|
||||
$GLOBALS['cfg']['PDFDefaultPageSize'] = 'A4';
|
||||
$GLOBALS['cfg']['Schema']['pdf_orientation'] = 'L';
|
||||
$GLOBALS['cfg']['Schema']['pdf_paper'] = 'A4';
|
||||
|
||||
$_SESSION = array(
|
||||
'relation' => array(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user