Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
4eefa080c7
@ -9,11 +9,28 @@
|
||||
require_once 'libraries/config/ConfigFile.class.php';
|
||||
require_once 'libraries/config/Form.class.php';
|
||||
require_once 'libraries/Util.class.php';
|
||||
require_once 'libraries/Theme.class.php';
|
||||
require_once 'libraries/Config.class.php';
|
||||
require_once 'libraries/php-gettext/gettext.inc';
|
||||
|
||||
|
||||
class PMA_Form_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* Configures global environment.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
{
|
||||
$_SESSION['PMA_Theme'] = new PMA_Theme();
|
||||
$GLOBALS['pmaThemePath'] = $_SESSION['PMA_Theme']->getPath();
|
||||
$GLOBALS['pmaThemeImage'] = 'theme/';
|
||||
$GLOBALS['PMA_Config'] = new PMA_Config();
|
||||
$GLOBALS['PMA_Config']->enableBc();
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
public function testContructor()
|
||||
{
|
||||
$form = new Form('pma_form_name', array('pma_form1','pma_form2'), 1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user