Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix the undefined error in UT #471

Merged
merged 1 commit into from

2 participants

@adamgsoc2013

No description provided.

@nijel nijel merged commit 864cf69 into phpmyadmin:master

1 check was pending

Details default The Travis CI build is in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 1, 2013
  1. @adamgsoc2013
This page is out of date. Refresh to see the latest.
View
1  test/libraries/PMA_ConfigFile_test.php
@@ -31,6 +31,7 @@ class PMA_ConfigFile_Test extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
+ $GLOBALS['server'] = 1;
$GLOBALS['cfg']['AvailableCharsets'] = array();
$this->object = ConfigFile::getInstance();
$this->server = $GLOBALS['server'];
View
2  test/libraries/PMA_Tracker_test.php
@@ -32,7 +32,7 @@ protected function setUp()
/**
* SET these to avoid undefined index error
*/
-
+ $GLOBALS['server'] = 1;
$GLOBALS['cfg']['Server']['pmadb'] = '';
$GLOBALS['cfg']['Server']['tracking'] = '';
$GLOBALS['cfg']['Server']['tracking_add_drop_table'] = '';
Something went wrong with that request. Please try again.