Fix setUp function not in camel case

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-10-19 10:53:16 +02:00
parent 2254f66aa8
commit 89feb6ecc3
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
62 changed files with 62 additions and 62 deletions

View File

@ -26,7 +26,7 @@ class AdvisorTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['PMA_Config'] = new Config();
$GLOBALS['server'] = 1;

View File

@ -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();

View File

@ -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();

View File

@ -22,7 +22,7 @@ class FileTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['charset_conversion'] = false;
}

View File

@ -26,7 +26,7 @@ class HeaderTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
if (!defined('PMA_IS_WINDOWS')) {
define('PMA_IS_WINDOWS', false);

View File

@ -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";

View File

@ -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';

View File

@ -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)) {

View File

@ -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();

View File

@ -23,7 +23,7 @@ class MenuTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
if (!defined('PMA_IS_WINDOWS')) {
define('PMA_IS_WINDOWS', false);

View File

@ -24,7 +24,7 @@ class NodeFactoryTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeColumnContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeColumnTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeDatabaseTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['cfg']['DefaultTabDatabase'] = 'structure';

View File

@ -23,7 +23,7 @@ class NodeEventContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeEventTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeFunctionContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeFunctionTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeIndexContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeIndexTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeProcedureContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeProcedureTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeTableContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['cfg']['NavigationTreeEnableGrouping'] = true;

View File

@ -23,7 +23,7 @@ class NodeTableTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['cfg']['NavigationTreeDefaultTabTable'] = 'b_browse';

View File

@ -25,7 +25,7 @@ class NodeTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['cfg']['Server']['DisableIS'] = false;

View File

@ -23,7 +23,7 @@ class NodeTriggerContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeTriggerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -23,7 +23,7 @@ class NodeViewContainerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['cfg']['NavigationTreeEnableGrouping'] = true;

View File

@ -23,7 +23,7 @@ class NodeViewTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['server'] = 0;
}

View File

@ -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();

View File

@ -34,7 +34,7 @@ class AuthenticationCookieTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['PMA_Config'] = new Config();
$GLOBALS['PMA_Config']->enableBc();

View File

@ -28,7 +28,7 @@ class ExportCodegenTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$this->object = new ExportCodegen(null);

View File

@ -28,7 +28,7 @@ class ExportCsvTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$this->object = new ExportCsv();

View File

@ -27,7 +27,7 @@ class ExportExcelTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$this->object = new ExportExcel();

View File

@ -28,7 +28,7 @@ class ExportHtmlwordTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$this->object = new ExportHtmlword();

View File

@ -27,7 +27,7 @@ class ExportJsonTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -27,7 +27,7 @@ class ExportLatexTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -28,7 +28,7 @@ class ExportMediawikiTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -29,7 +29,7 @@ class ExportOdsTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -29,7 +29,7 @@ class ExportOdtTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -28,7 +28,7 @@ class ExportPdfTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -28,7 +28,7 @@ class ExportPhparrayTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -30,7 +30,7 @@ class ExportSqlTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['db'] = 'db';

View File

@ -28,7 +28,7 @@ class ExportTexytextTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -29,7 +29,7 @@ class ExportXmlTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -28,7 +28,7 @@ class ExportYamlTest extends PmaTestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['server'] = 0;
$GLOBALS['output_kanji_conversion'] = false;

View File

@ -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');

View File

@ -24,7 +24,7 @@ class OptionsPropertyMainGroupTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->object = new OptionsPropertyMainGroup();
}

View File

@ -24,7 +24,7 @@ class OptionsPropertyRootGroupTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->object = new OptionsPropertyRootGroup();
}

View File

@ -24,7 +24,7 @@ class OptionsPropertySubgroupTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->object = new OptionsPropertySubgroup();
}

View File

@ -24,7 +24,7 @@ class OptionsPropertyGroupTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Options\OptionsPropertyGroup');
}

View File

@ -23,7 +23,7 @@ class OptionsPropertyItemTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Options\OptionsPropertyItem');
}

View File

@ -23,7 +23,7 @@ class OptionsPropertyOneItemTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Options\OptionsPropertyOneItem');
}

View File

@ -25,7 +25,7 @@ class ExportPluginPropertiesTest extends ImportPluginPropertiesTest
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->object = new ExportPluginProperties();
}

View File

@ -24,7 +24,7 @@ class ImportPluginPropertiesTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->object = new ImportPluginProperties();
}

View File

@ -23,7 +23,7 @@ class PluginPropertyItemTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\Plugins\PluginPropertyItem');
}

View File

@ -23,7 +23,7 @@ class PropertyItemTest extends TestCase
*
* @return void
*/
protected function setup()
protected function setUp()
{
$this->stub = $this->getMockForAbstractClass('PhpMyAdmin\Properties\PropertyItem');
}

View File

@ -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";

View File

@ -22,7 +22,7 @@ class IndexTest extends TestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['cfg']['ProxyUrl'] = '';
}

View File

@ -23,7 +23,7 @@ class ThemeManagerTest extends PmaTestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['cfg']['ThemePerServer'] = false;
$GLOBALS['cfg']['ThemeDefault'] = 'pmahomme';

View File

@ -23,7 +23,7 @@ class TransformationsTest extends TestCase
*
* @return void
*/
public function setup()
public function setUp()
{
$GLOBALS['table'] = 'table';
$GLOBALS['db'] = 'db';

View File

@ -24,7 +24,7 @@ class PMA_DBI_Test extends TestCase
*
* @return void
*/
function setup()
function setUp()
{
$GLOBALS['cfg']['DBG']['sql'] = false;
$GLOBALS['cfg']['IconvExtraParams'] = '';