X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fformatter%2FFormatterFactoryTest.php;h=ae476cb5057df02ca9babf3c9fe83daec05f0e85;hb=a5a9cf23acd1248585173aa32757d9720b5f2d62;hp=317c0b2d99d08c9ded9cf043f4baddd9867de8b3;hpb=3fb29fdda04ca86e04422d49b86cf646d53c4f9d;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/formatter/FormatterFactoryTest.php b/tests/formatter/FormatterFactoryTest.php index 317c0b2d..ae476cb5 100644 --- a/tests/formatter/FormatterFactoryTest.php +++ b/tests/formatter/FormatterFactoryTest.php @@ -2,8 +2,8 @@ namespace Shaarli\Formatter; -use PHPUnit\Framework\TestCase; use Shaarli\Config\ConfigManager; +use Shaarli\TestCase; /** * Class FormatterFactoryTest @@ -24,11 +24,11 @@ class FormatterFactoryTest extends TestCase /** * 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); } /**