]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/formatter/FormatterFactoryTest.php
Compatibility with PHPUnit 9
[github/shaarli/Shaarli.git] / tests / formatter / FormatterFactoryTest.php
index 5adf3ffd8dd2acfe20eb47fcf5ab58ed40f7c9ce..ae476cb5057df02ca9babf3c9fe83daec05f0e85 100644 (file)
@@ -2,8 +2,8 @@
 
 namespace Shaarli\Formatter;
 
-use PHPUnit\Framework\TestCase;
 use Shaarli\Config\ConfigManager;
+use Shaarli\TestCase;
 
 /**
  * Class FormatterFactoryTest
@@ -24,7 +24,7 @@ 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);