fix tests for linkTo

This commit is contained in:
msquare 2018-08-06 16:53:30 +02:00
parent 2832fe48ee
commit c55ae7c319
2 changed files with 4 additions and 4 deletions

View File

@ -23,14 +23,14 @@ class LegacyUrlGeneratorTest extends TestCase
/** /**
* @dataProvider provideLinksTo * @dataProvider provideLinksTo
* @covers \Engelsystem\Routing\LegacyUrlGenerator::to * @covers \Engelsystem\Routing\LegacyUrlGenerator::linkTo
* *
* @param string $urlToPath * @param string $urlToPath
* @param string $willReturn * @param string $willReturn
* @param string[] $arguments * @param string[] $arguments
* @param string $expectedUrl * @param string $expectedUrl
*/ */
public function testTo($urlToPath, $willReturn, $arguments, $expectedUrl) public function testLinkTo($urlToPath, $willReturn, $arguments, $expectedUrl)
{ {
$app = new Container(); $app = new Container();
Application::setInstance($app); Application::setInstance($app);

View File

@ -22,7 +22,7 @@ class UrlGeneratorTest extends TestCase
/** /**
* @dataProvider provideLinksTo * @dataProvider provideLinksTo
* @covers \Engelsystem\Routing\UrlGenerator::to * @covers \Engelsystem\Routing\UrlGenerator::linkTo
* *
* @param string $path * @param string $path
* @param string $willReturn * @param string $willReturn
@ -30,7 +30,7 @@ class UrlGeneratorTest extends TestCase
* @param string[] $arguments * @param string[] $arguments
* @param string $expectedUrl * @param string $expectedUrl
*/ */
public function testTo($urlToPath, $path, $willReturn, $arguments, $expectedUrl) public function testLinkTo($urlToPath, $path, $willReturn, $arguments, $expectedUrl)
{ {
$app = new Container(); $app = new Container();
Application::setInstance($app); Application::setInstance($app);