]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/formatter/FormatterFactoryTest.php
Merge pull request #1569 from ArthurHoaro/fix/bad-encoding
[github/shaarli/Shaarli.git] / tests / formatter / FormatterFactoryTest.php
index 317c0b2d99d08c9ded9cf043f4baddd9867de8b3..6aab6a611b32fbbba4eaf51db3622e520fe9e571 100644 (file)
@@ -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);
     }
 
     /**