Move byte units translations to proper place.
This commit is contained in:
@@ -43,7 +43,7 @@ class PMA_formatNumberByteDown_test extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->tmpGlobals = $GLOBALS;
|
||||
$this->tmpSession = $_SESSION;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -107,10 +107,9 @@ class PMA_formatNumberByteDown_test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
|
||||
public function testFormatByteDown($a, $b, $c, $e) {
|
||||
$GLOBALS['byteUnits'] = array('B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB');
|
||||
$GLOBALS['number_thousands_separator'] = ' ';
|
||||
$GLOBALS['number_decimal_separator'] = ',';
|
||||
|
||||
|
||||
|
||||
$result = PMA_formatByteDown($a, $b, $c);
|
||||
$result[0] = trim($result[0]);
|
||||
|
Reference in New Issue
Block a user