summaryrefslogtreecommitdiff
path: root/tests/Unit/Routing
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Routing')
-rw-r--r--tests/Unit/Routing/LegacyUrlGeneratorTest.php2
-rw-r--r--tests/Unit/Routing/UrlGeneratorTest.php2
2 files changed, 2 insertions, 2 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);
}
}
diff --git a/tests/Unit/Routing/UrlGeneratorTest.php b/tests/Unit/Routing/UrlGeneratorTest.php
index 8fe0d65f..34c2f610 100644
--- a/tests/Unit/Routing/UrlGeneratorTest.php
+++ b/tests/Unit/Routing/UrlGeneratorTest.php
@@ -48,7 +48,7 @@ class UrlGeneratorTest extends TestCase
$urlGenerator = new UrlGenerator();
$this->assertInstanceOf(UrlGeneratorInterface::class, $urlGenerator);
- $url = $urlGenerator->to($urlToPath, $arguments);
+ $url = $urlGenerator->link_to($urlToPath, $arguments);
$this->assertEquals($expectedUrl, $url);
}
}