diff --git a/tests/framework/filters/auth/CompositeAuthTest.php b/tests/framework/filters/auth/CompositeAuthTest.php index 77c43207664..7ec57ee1237 100644 --- a/tests/framework/filters/auth/CompositeAuthTest.php +++ b/tests/framework/filters/auth/CompositeAuthTest.php @@ -12,6 +12,7 @@ use yii\filters\auth\CompositeAuth; use yii\filters\auth\HttpBearerAuth; use yii\rest\Controller; +use yii\web\UnauthorizedHttpException; use yiiunit\framework\web\UserIdentity; /**