Skip to content

Commit

Permalink
Fixed deprecated route syntax in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Jan 2, 2025
1 parent cdcf102 commit 4d9533d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bundle/View/SystemInfoViewBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d9533d

Please sign in to comment.