]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/security/BanManagerTest.php
Use PSR-3 logger for login attempts
[github/shaarli/Shaarli.git] / tests / security / BanManagerTest.php
index 698d3d10bdeadedafa4bfe2d01cdd8272251f685..22aa86661ad8309edc6ecf245c9833b9c14898c8 100644 (file)
@@ -3,6 +3,7 @@
 
 namespace Shaarli\Security;
 
+use Psr\Log\LoggerInterface;
 use Shaarli\FileUtils;
 use Shaarli\TestCase;
 
@@ -387,7 +388,7 @@ class BanManagerTest extends TestCase
             3,
             1800,
             $this->banFile,
-            $this->logFile
+            $this->createMock(LoggerInterface::class)
         );
     }
 }