Streamline dataproviders

This commit is contained in:
Oskar Stark 2021-01-29 10:38:16 +01:00 committed by Nyholm
parent 945c7c590c
commit 025079b051
No known key found for this signature in database
GPG Key ID: D6332DE2B6F8FA38
4 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ use Symfony\Component\Routing\RequestContext;
class HttpFoundationExtensionTest extends TestCase
{
/**
* @dataProvider getGenerateAbsoluteUrlData()
* @dataProvider getGenerateAbsoluteUrlData
*/
public function testGenerateAbsoluteUrl($expected, $path, $pathinfo)
{
@ -116,7 +116,7 @@ class HttpFoundationExtensionTest extends TestCase
}
/**
* @dataProvider getGenerateRelativePathData()
* @dataProvider getGenerateRelativePathData
*/
public function testGenerateRelativePath($expected, $path, $pathinfo)
{

View File

@ -728,7 +728,7 @@ class RequestTest extends TestCase
}
/**
* @dataProvider getRelativeUriForPathData()
* @dataProvider getRelativeUriForPathData
*/
public function testGetRelativeUriForPath($expected, $pathinfo, $path)
{

View File

@ -20,7 +20,7 @@ use Symfony\Component\Routing\RequestContext;
class UrlHelperTest extends TestCase
{
/**
* @dataProvider getGenerateAbsoluteUrlData()
* @dataProvider getGenerateAbsoluteUrlData
*/
public function testGenerateAbsoluteUrl($expected, $path, $pathinfo)
{
@ -113,7 +113,7 @@ class UrlHelperTest extends TestCase
}
/**
* @dataProvider getGenerateRelativePathData()
* @dataProvider getGenerateRelativePathData
*/
public function testGenerateRelativePath($expected, $path, $pathinfo)
{

View File

@ -29,7 +29,7 @@ trait CallbacksTestTrait
}
/**
* @dataProvider provideInvalidCallbacks()
* @dataProvider provideInvalidCallbacks
*/
public function testUncallableCallbacks($callbacks)
{