From f1487832c334be3b4809d196a780d808cf64de94 Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Thu, 2 Jan 2025 08:34:16 +0100 Subject: [PATCH] Fixed deprecated route syntax in unit tests --- tests/bundle/View/SystemInfoViewBuilderTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bundle/View/SystemInfoViewBuilderTest.php b/tests/bundle/View/SystemInfoViewBuilderTest.php index 1b6994d..03bb3c6 100644 --- a/tests/bundle/View/SystemInfoViewBuilderTest.php +++ b/tests/bundle/View/SystemInfoViewBuilderTest.php @@ -34,13 +34,13 @@ class SystemInfoViewBuilderTest extends TestCase public function testMatches(): void { $builder = new SystemInfoViewBuilder($this->getConfiguratorMock(), $this->getRegistryMock()); - self::assertTrue($builder->matches('ibexa.support_tools.view.controller:viewInfoAction')); + self::assertTrue($builder->matches('ibexa.support_tools.view.controller::viewInfoAction')); } public function testNotMatches(): void { $builder = new SystemInfoViewBuilder($this->getConfiguratorMock(), $this->getRegistryMock()); - self::assertFalse($builder->matches('service:someAction')); + self::assertFalse($builder->matches('service::someAction')); } public function testBuildView(): void