diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-24 11:37:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 11:37:29 +0200 |
commit | 820cae27cfcc94af552818f3f1e5342e00478f6c (patch) | |
tree | 20eb1cd95987088a7afc3602e8b712448ef05a93 /tests/security/BanManagerTest.php | |
parent | 8f6e3d51ccb2df513aadeabafbc5bfffe38b8608 (diff) | |
parent | b38a1b0209f546d4824a0db81a34c4e30fcdebaf (diff) | |
download | Shaarli-820cae27cfcc94af552818f3f1e5342e00478f6c.tar.gz Shaarli-820cae27cfcc94af552818f3f1e5342e00478f6c.tar.zst Shaarli-820cae27cfcc94af552818f3f1e5342e00478f6c.zip |
Merge pull request #1601 from ArthurHoaro/feature/psr3
Diffstat (limited to 'tests/security/BanManagerTest.php')
-rw-r--r-- | tests/security/BanManagerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/security/BanManagerTest.php b/tests/security/BanManagerTest.php index 698d3d10..22aa8666 100644 --- a/tests/security/BanManagerTest.php +++ b/tests/security/BanManagerTest.php | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | namespace Shaarli\Security; | 4 | namespace Shaarli\Security; |
5 | 5 | ||
6 | use Psr\Log\LoggerInterface; | ||
6 | use Shaarli\FileUtils; | 7 | use Shaarli\FileUtils; |
7 | use Shaarli\TestCase; | 8 | use Shaarli\TestCase; |
8 | 9 | ||
@@ -387,7 +388,7 @@ class BanManagerTest extends TestCase | |||
387 | 3, | 388 | 3, |
388 | 1800, | 389 | 1800, |
389 | $this->banFile, | 390 | $this->banFile, |
390 | $this->logFile | 391 | $this->createMock(LoggerInterface::class) |
391 | ); | 392 | ); |
392 | } | 393 | } |
393 | } | 394 | } |