summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2018-08-06 16:53:30 +0200
committermsquare <msquare@notrademark.de>2018-08-06 16:53:30 +0200
commitc55ae7c3190e48180371bab8f4d7ab4c5726ff13 (patch)
treef74bf0c3d387d7096d3d97ada18ad2ac1c7837e4
parent2832fe48eeff7335e734ac17b1b7d9f3c52621a8 (diff)
fix tests for linkTo
-rw-r--r--tests/Unit/Routing/LegacyUrlGeneratorTest.php4
-rw-r--r--tests/Unit/Routing/UrlGeneratorTest.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Routing/LegacyUrlGeneratorTest.php b/tests/Unit/Routing/LegacyUrlGeneratorTest.php
index 9576a260..55b3d721 100644
--- a/tests/Unit/Routing/LegacyUrlGeneratorTest.php
+++ b/tests/Unit/Routing/LegacyUrlGeneratorTest.php
@@ -23,14 +23,14 @@ class LegacyUrlGeneratorTest extends TestCase
/**
* @dataProvider provideLinksTo
- * @covers \Engelsystem\Routing\LegacyUrlGenerator::to
+ * @covers \Engelsystem\Routing\LegacyUrlGenerator::linkTo
*
* @param string $urlToPath
* @param string $willReturn
* @param string[] $arguments
* @param string $expectedUrl
*/
- public function testTo($urlToPath, $willReturn, $arguments, $expectedUrl)
+ public function testLinkTo($urlToPath, $willReturn, $arguments, $expectedUrl)
{
$app = new Container();
Application::setInstance($app);
diff --git a/tests/Unit/Routing/UrlGeneratorTest.php b/tests/Unit/Routing/UrlGeneratorTest.php
index ddb6c975..2d2efd31 100644
--- a/tests/Unit/Routing/UrlGeneratorTest.php
+++ b/tests/Unit/Routing/UrlGeneratorTest.php
@@ -22,7 +22,7 @@ class UrlGeneratorTest extends TestCase
/**
* @dataProvider provideLinksTo
- * @covers \Engelsystem\Routing\UrlGenerator::to
+ * @covers \Engelsystem\Routing\UrlGenerator::linkTo
*
* @param string $path
* @param string $willReturn
@@ -30,7 +30,7 @@ class UrlGeneratorTest extends TestCase
* @param string[] $arguments
* @param string $expectedUrl
*/
- public function testTo($urlToPath, $path, $willReturn, $arguments, $expectedUrl)
+ public function testLinkTo($urlToPath, $path, $willReturn, $arguments, $expectedUrl)
{
$app = new Container();
Application::setInstance($app);