Fix minor unit test bugs

This commit is contained in:
Dennis Eichhorn 2016-11-14 19:36:02 +01:00
parent 33631435b9
commit b3ffd525d4
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ class L11nManager
{
if (!isset($module) && isset($this->language[$language])) {
return $this->language[$language];
} elseif (isset($this->language[$language])) {
} elseif (isset($this->language[$language]) && isset($this->language[$language][$module])) {
return $this->language[$language][$module];
} else {
return [];

View File

@ -138,7 +138,7 @@ class FileLogger implements LoggerInterface
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public static function getInstance(string $path = '', bool $verbose = true) : FileLogger
public static function getInstance(string $path = '', bool $verbose = false) : FileLogger
{
if (self::$instance === null) {
self::$instance = new self($path, $verbose);