[ticket/102] Cover moving modules more and fix functional tests

B3P-102
This commit is contained in:
Marc Alexander
2014-04-08 00:19:18 +02:00
parent 69c748e1e4
commit 2da97611a7
4 changed files with 45 additions and 2 deletions

View File

@@ -30,6 +30,15 @@ class user extends \PHPUnit_Framework_TestCase
return; // can't support other extensions
}
if (is_array($file))
{
foreach ($file as $cur_file)
{
$this->add_lang_ext($ext, $cur_file);
}
return;
}
if (file_exists(dirname(__FILE__) . '/../../language/en/' . $file . '.php'))
{
include_once(dirname(__FILE__) . '/../../language/en/' . $file . '.php');