Fix setUp function not in camel case
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
2254f66aa8
commit
89feb6ecc3
@ -26,7 +26,7 @@ class AdvisorTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['PMA_Config'] = new Config();
|
||||
$GLOBALS['server'] = 1;
|
||||
|
||||
@ -32,7 +32,7 @@ class FormDisplayTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['pmaThemePath'] = $GLOBALS['PMA_Theme']->getPath();
|
||||
$GLOBALS['PMA_Config'] = new Config();
|
||||
|
||||
@ -31,7 +31,7 @@ class FormTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['pmaThemePath'] = $GLOBALS['PMA_Theme']->getPath();
|
||||
$GLOBALS['PMA_Config'] = new Config();
|
||||
|
||||
@ -22,7 +22,7 @@ class FileTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['charset_conversion'] = false;
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ class HeaderTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
if (!defined('PMA_IS_WINDOWS')) {
|
||||
define('PMA_IS_WINDOWS', false);
|
||||
|
||||
@ -24,7 +24,7 @@ class IndexTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$this->_params['Schema'] = "PMA_Schema";
|
||||
$this->_params['Table'] = "PMA_Table";
|
||||
|
||||
@ -32,7 +32,7 @@ class InsertEditTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 1;
|
||||
$GLOBALS['PMA_PHP_SELF'] = 'index.php';
|
||||
|
||||
@ -24,7 +24,7 @@ class LanguageTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$loc = LOCALE_PATH . '/cs/LC_MESSAGES/phpmyadmin.mo';
|
||||
if (! is_readable($loc)) {
|
||||
|
||||
@ -26,7 +26,7 @@ class ListDatabaseTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['cfg']['Server']['only_db'] = array('single\\_db');
|
||||
$this->object = new ListDatabase();
|
||||
|
||||
@ -23,7 +23,7 @@ class MenuTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
if (!defined('PMA_IS_WINDOWS')) {
|
||||
define('PMA_IS_WINDOWS', false);
|
||||
|
||||
@ -24,7 +24,7 @@ class NodeFactoryTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeColumnContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeColumnTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeDatabaseTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['cfg']['DefaultTabDatabase'] = 'structure';
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeEventContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeEventTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeFunctionContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeFunctionTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeIndexContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeIndexTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeProcedureContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeProcedureTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeTableContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['cfg']['NavigationTreeEnableGrouping'] = true;
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeTableTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['cfg']['NavigationTreeDefaultTabTable'] = 'b_browse';
|
||||
|
||||
@ -25,7 +25,7 @@ class NodeTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['cfg']['Server']['DisableIS'] = false;
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeTriggerContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeTriggerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeViewContainerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['cfg']['NavigationTreeEnableGrouping'] = true;
|
||||
|
||||
@ -23,7 +23,7 @@ class NodeViewTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class PdfTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['PMA_Config'] = new Config();
|
||||
$GLOBALS['PMA_Config']->enableBc();
|
||||
|
||||
@ -34,7 +34,7 @@ class AuthenticationCookieTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['PMA_Config'] = new Config();
|
||||
$GLOBALS['PMA_Config']->enableBc();
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportCodegenTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$this->object = new ExportCodegen(null);
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportCsvTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$this->object = new ExportCsv();
|
||||
|
||||
@ -27,7 +27,7 @@ class ExportExcelTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$this->object = new ExportExcel();
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportHtmlwordTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$this->object = new ExportHtmlword();
|
||||
|
||||
@ -27,7 +27,7 @@ class ExportJsonTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -27,7 +27,7 @@ class ExportLatexTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportMediawikiTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -29,7 +29,7 @@ class ExportOdsTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -29,7 +29,7 @@ class ExportOdtTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportPdfTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportPhparrayTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -30,7 +30,7 @@ class ExportSqlTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['db'] = 'db';
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportTexytextTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -29,7 +29,7 @@ class ExportXmlTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -28,7 +28,7 @@ class ExportYamlTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$GLOBALS['output_kanji_conversion'] = false;
|
||||
|
||||
@ -24,7 +24,7 @@ class TablePropertyTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['server'] = 0;
|
||||
$row = array(' name ', 'int ', true, ' PRI', '0', 'mysql');
|
||||
|
||||
@ -24,7 +24,7 @@ class OptionsPropertyMainGroupTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new OptionsPropertyMainGroup();
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ class OptionsPropertyRootGroupTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new OptionsPropertyRootGroup();
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ class OptionsPropertySubgroupTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new OptionsPropertySubgroup();
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ class OptionsPropertyGroupTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Options\OptionsPropertyGroup');
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class OptionsPropertyItemTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Options\OptionsPropertyItem');
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class OptionsPropertyOneItemTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Options\OptionsPropertyOneItem');
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@ class ExportPluginPropertiesTest extends ImportPluginPropertiesTest
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new ExportPluginProperties();
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ class ImportPluginPropertiesTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new ImportPluginProperties();
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class PluginPropertyItemTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Plugins\PluginPropertyItem');
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class PropertyItemTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setup()
|
||||
protected function setUp()
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\PropertyItem');
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ class DataTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['PMA_PHP_SELF'] = Core::getenv('PHP_SELF');
|
||||
$GLOBALS['cfg']['Server']['host'] = "::1";
|
||||
|
||||
@ -22,7 +22,7 @@ class IndexTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['cfg']['ProxyUrl'] = '';
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ class ThemeManagerTest extends PmaTestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['cfg']['ThemePerServer'] = false;
|
||||
$GLOBALS['cfg']['ThemeDefault'] = 'pmahomme';
|
||||
|
||||
@ -23,7 +23,7 @@ class TransformationsTest extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup()
|
||||
public function setUp()
|
||||
{
|
||||
$GLOBALS['table'] = 'table';
|
||||
$GLOBALS['db'] = 'db';
|
||||
|
||||
@ -24,7 +24,7 @@ class PMA_DBI_Test extends TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function setup()
|
||||
function setUp()
|
||||
{
|
||||
$GLOBALS['cfg']['DBG']['sql'] = false;
|
||||
$GLOBALS['cfg']['IconvExtraParams'] = '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user