diff options
Diffstat (limited to 'tests/Unit/Routing/LegacyUrlGeneratorTest.php')
-rw-r--r-- | tests/Unit/Routing/LegacyUrlGeneratorTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Routing/LegacyUrlGeneratorTest.php b/tests/Unit/Routing/LegacyUrlGeneratorTest.php index 63e1a3eb..7c28eaed 100644 --- a/tests/Unit/Routing/LegacyUrlGeneratorTest.php +++ b/tests/Unit/Routing/LegacyUrlGeneratorTest.php @@ -48,7 +48,7 @@ class LegacyUrlGeneratorTest extends TestCase $urlGenerator = new LegacyUrlGenerator(); $this->assertInstanceOf(UrlGeneratorInterface::class, $urlGenerator); - $url = $urlGenerator->to($urlToPath, $arguments); + $url = $urlGenerator->link_to($urlToPath, $arguments); $this->assertEquals($expectedUrl, $url); } } |