X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fcontainer%2FContainerBuilderTest.php;h=2047a63adf1bd6143609d854b5d47b44669ea55d;hb=98e7a59ca21b51cbd86d09cd5d217c0c8bf3db77;hp=c08010ae915a778e161a424d0ead26a097b20d5e;hpb=bea062149ebcb4663861edb1cc0a32faf85b273f;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/container/ContainerBuilderTest.php b/tests/container/ContainerBuilderTest.php index c08010ae..2047a63a 100644 --- a/tests/container/ContainerBuilderTest.php +++ b/tests/container/ContainerBuilderTest.php @@ -10,6 +10,7 @@ use Shaarli\Config\ConfigManager; use Shaarli\Feed\FeedBuilder; use Shaarli\Formatter\FormatterFactory; use Shaarli\Front\Controller\Visitor\ErrorController; +use Shaarli\Front\Controller\Visitor\ErrorNotFoundController; use Shaarli\History; use Shaarli\Http\HttpAccess; use Shaarli\Netscape\NetscapeBookmarkUtils; @@ -75,6 +76,7 @@ class ContainerBuilderTest extends TestCase static::assertInstanceOf(PageBuilder::class, $container->pageBuilder); static::assertInstanceOf(PageCacheManager::class, $container->pageCacheManager); static::assertInstanceOf(ErrorController::class, $container->phpErrorHandler); + static::assertInstanceOf(ErrorNotFoundController::class, $container->notFoundHandler); static::assertInstanceOf(PluginManager::class, $container->pluginManager); static::assertInstanceOf(SessionManager::class, $container->sessionManager); static::assertInstanceOf(Thumbnailer::class, $container->thumbnailer);