[ticket/102] Cover moving modules more and fix functional tests
B3P-102
This commit is contained in:
1 parent
69c748e1e4
commit
2da97611a7
4 files changed
+45
-2
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user