diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php index 059aa6f..cc90742 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @@ -10,6 +10,7 @@ use Drupal\Core\Cache\Context\CacheContextsManager; use Drupal\Core\Cache\Context\QueryArgsCacheContext; use Drupal\Tests\UnitTestCase; +use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\RequestStack; @@ -28,7 +29,7 @@ public function testGetContext($uri, array $context_tokens, array $expected_keys $request_stack = new RequestStack(); $request_stack->push(Request::create($uri)); - $container_prophecy = $this->prophesize('Symfony\Component\DependencyInjection\ContainerInterface'); + $container_prophecy = $this->prophesize(ContainerInterface::class); $container_prophecy->get('cache_context.url.query_args')->willReturn(new QueryArgsCacheContext($request_stack)); $cache_contexts_manager = new CacheContextsManager($container_prophecy->reveal(), ['url.query_args']);