diff --git a/test/classes/Advisor_test.php b/test/classes/Advisor_test.php index 4f30f57197..d5d9dda81f 100644 --- a/test/classes/Advisor_test.php +++ b/test/classes/Advisor_test.php @@ -19,6 +19,7 @@ class Advisor_test extends PHPUnit_Framework_TestCase public function setup() { $_SESSION[' PMA_token '] = 'token'; + $GLOBALS['lang'] = 'en'; } /** @@ -71,7 +72,7 @@ class Advisor_test extends PHPUnit_Framework_TestCase ), array( array('justification' => 'foo', 'name' => 'Variable', 'issue' => 'issue', 'recommendation' => 'Recommend {status_var}'), - array('justification' => 'foo', 'name' => 'Variable', 'issue' => 'issue', 'recommendation' => 'Recommend status_var'), + array('justification' => 'foo', 'name' => 'Variable', 'issue' => 'issue', 'recommendation' => 'Recommend status_var'), ), array( array('justification' => '%s foo | value', 'name' => 'Format', 'issue' => 'issue', 'recommendation' => 'Recommend'),