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/container | |
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/container')
-rw-r--r-- | tests/container/ContainerBuilderTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/container/ContainerBuilderTest.php b/tests/container/ContainerBuilderTest.php index 3dadc0b9..3d43c344 100644 --- a/tests/container/ContainerBuilderTest.php +++ b/tests/container/ContainerBuilderTest.php | |||
@@ -4,6 +4,7 @@ declare(strict_types=1); | |||
4 | 4 | ||
5 | namespace Shaarli\Container; | 5 | namespace Shaarli\Container; |
6 | 6 | ||
7 | use Psr\Log\LoggerInterface; | ||
7 | use Shaarli\Bookmark\BookmarkServiceInterface; | 8 | use Shaarli\Bookmark\BookmarkServiceInterface; |
8 | use Shaarli\Config\ConfigManager; | 9 | use Shaarli\Config\ConfigManager; |
9 | use Shaarli\Feed\FeedBuilder; | 10 | use Shaarli\Feed\FeedBuilder; |
@@ -55,7 +56,8 @@ class ContainerBuilderTest extends TestCase | |||
55 | $this->conf, | 56 | $this->conf, |
56 | $this->sessionManager, | 57 | $this->sessionManager, |
57 | $this->cookieManager, | 58 | $this->cookieManager, |
58 | $this->loginManager | 59 | $this->loginManager, |
60 | $this->createMock(LoggerInterface::class) | ||
59 | ); | 61 | ); |
60 | } | 62 | } |
61 | 63 | ||
@@ -73,6 +75,7 @@ class ContainerBuilderTest extends TestCase | |||
73 | static::assertInstanceOf(History::class, $container->history); | 75 | static::assertInstanceOf(History::class, $container->history); |
74 | static::assertInstanceOf(HttpAccess::class, $container->httpAccess); | 76 | static::assertInstanceOf(HttpAccess::class, $container->httpAccess); |
75 | static::assertInstanceOf(LoginManager::class, $container->loginManager); | 77 | static::assertInstanceOf(LoginManager::class, $container->loginManager); |
78 | static::assertInstanceOf(LoggerInterface::class, $container->logger); | ||
76 | static::assertInstanceOf(MetadataRetriever::class, $container->metadataRetriever); | 79 | static::assertInstanceOf(MetadataRetriever::class, $container->metadataRetriever); |
77 | static::assertInstanceOf(NetscapeBookmarkUtils::class, $container->netscapeBookmarkUtils); | 80 | static::assertInstanceOf(NetscapeBookmarkUtils::class, $container->netscapeBookmarkUtils); |
78 | static::assertInstanceOf(PageBuilder::class, $container->pageBuilder); | 81 | static::assertInstanceOf(PageBuilder::class, $container->pageBuilder); |