These globals are no longer needed.
This commit is contained in:
@@ -81,10 +81,6 @@ class PMA_localisedDateTimespan_test extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public function testLocalisedDate($a, $b, $e) {
|
public function testLocalisedDate($a, $b, $e) {
|
||||||
$GLOBALS['day_of_week'] = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
|
||||||
$GLOBALS['month'] = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
|
||||||
$GLOBALS['datefmt'] = '%B %d, %Y at %I:%M %p';
|
|
||||||
|
|
||||||
$this->assertEquals($e, PMA_localisedDate($a, $b));
|
$this->assertEquals($e, PMA_localisedDate($a, $b));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user