]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/security/BanManagerTest.php
Compatibility with PHPUnit 9
[github/shaarli/Shaarli.git] / tests / security / BanManagerTest.php
index bba7c8ad76594c359b440e7d3a28f04fcdb293a3..698d3d10bdeadedafa4bfe2d01cdd8272251f685 100644 (file)
@@ -3,8 +3,8 @@
 
 namespace Shaarli\Security;
 
-use PHPUnit\Framework\TestCase;
 use Shaarli\FileUtils;
+use Shaarli\TestCase;
 
 /**
  * Test coverage for BanManager
@@ -32,7 +32,7 @@ class BanManagerTest extends TestCase
     /**
      * Prepare or reset test resources
      */
-    public function setUp()
+    protected function setUp(): void
     {
         if (file_exists($this->banFile)) {
             unlink($this->banFile);