namespace Shaarli\Formatter;
-use PHPUnit\Framework\TestCase;
use Shaarli\Config\ConfigManager;
+use Shaarli\TestCase;
/**
* Class FormatterFactoryTest
/**
* Initialize FormatterFactory instance
*/
- public function setUp()
+ protected function setUp(): void
{
copy('tests/utils/config/configJson.json.php', self::$testConf .'.json.php');
$this->conf = new ConfigManager(self::$testConf);
- $this->factory = new FormatterFactory($this->conf);
+ $this->factory = new FormatterFactory($this->conf, true);
}
/**