From 488f960bcc2696b43ba2e14b596c927ad1453178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=80=D0=B8=D0=B2=D0=B8=D1=87=20=D0=A1=D0=B5=D1=80?= =?UTF-8?q?=D0=B3=D0=B5=D0=B9?= Date: Thu, 21 Jul 2022 17:45:36 +0300 Subject: [PATCH] Fix test --- Tests/DependencyInjection/RetailCrmServiceExtensionTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Tests/DependencyInjection/RetailCrmServiceExtensionTest.php b/Tests/DependencyInjection/RetailCrmServiceExtensionTest.php index 7c2ebaf..8f12ae0 100644 --- a/Tests/DependencyInjection/RetailCrmServiceExtensionTest.php +++ b/Tests/DependencyInjection/RetailCrmServiceExtensionTest.php @@ -7,8 +7,7 @@ use RetailCrm\ServiceBundle\ArgumentResolver\CallbackValueResolver; use RetailCrm\ServiceBundle\ArgumentResolver\ClientValueResolver; use RetailCrm\ServiceBundle\DependencyInjection\RetailCrmServiceExtension; use RetailCrm\ServiceBundle\Response\ErrorJsonResponseFactory; -use RetailCrm\ServiceBundle\Security\CallbackClientAuthenticator; -use RetailCrm\ServiceBundle\Security\FrontApiClientAuthenticator; +use RetailCrm\ServiceBundle\Security\ApiClientAuthenticator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; @@ -52,7 +51,6 @@ class RetailCrmServiceExtensionTest extends TestCase static::assertTrue($this->container->hasDefinition(CallbackValueResolver::class)); static::assertTrue($this->container->hasDefinition(ClientValueResolver::class)); static::assertTrue($this->container->hasDefinition(ErrorJsonResponseFactory::class)); - static::assertTrue($this->container->hasDefinition(CallbackClientAuthenticator::class)); - static::assertTrue($this->container->hasDefinition(FrontApiClientAuthenticator::class)); + static::assertTrue($this->container->hasDefinition(ApiClientAuthenticator::class)); } }