diff --git a/tests/ControllerTest.php b/tests/ControllerTest.php index b2695b7..9eae71b 100644 --- a/tests/ControllerTest.php +++ b/tests/ControllerTest.php @@ -15,7 +15,6 @@ use Alltube\Exception\DependencyException; use Alltube\Factory\LocaleManagerFactory; use Alltube\Factory\SessionFactory; use Alltube\Factory\ViewFactory; -use Alltube\LocaleManager; use Psr\Log\NullLogger; use Slim\Container; use Slim\Http\Environment; diff --git a/tests/FrontControllerTest.php b/tests/FrontControllerTest.php index fb270ff..51526b9 100644 --- a/tests/FrontControllerTest.php +++ b/tests/FrontControllerTest.php @@ -8,6 +8,7 @@ namespace Alltube\Test; use Alltube\Controller\FrontController; use Alltube\Exception\ConfigException; +use Alltube\Exception\DependencyException; use Alltube\Library\Exception\AlltubeLibraryException; use Exception; use Slim\Http\Environment; @@ -28,6 +29,7 @@ class FrontControllerTest extends ControllerTest /** * Prepare tests. * @throws ConfigException|SmartyException + * @throws DependencyException */ protected function setUp(): void { diff --git a/tests/JsonControllerTest.php b/tests/JsonControllerTest.php index 438b482..be46ec1 100644 --- a/tests/JsonControllerTest.php +++ b/tests/JsonControllerTest.php @@ -8,6 +8,7 @@ namespace Alltube\Test; use Alltube\Controller\JsonController; use Alltube\Exception\ConfigException; +use Alltube\Exception\DependencyException; use Alltube\Library\Exception\YoutubedlException; use SmartyException; @@ -19,6 +20,7 @@ class JsonControllerTest extends ControllerTest /** * Prepare tests. * @throws ConfigException|SmartyException + * @throws DependencyException */ protected function setUp(): void {