Streamline dataproviders
This commit is contained in:
parent
945c7c590c
commit
025079b051
@ -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)
|
||||
{
|
||||
|
@ -728,7 +728,7 @@ class RequestTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider getRelativeUriForPathData()
|
||||
* @dataProvider getRelativeUriForPathData
|
||||
*/
|
||||
public function testGetRelativeUriForPath($expected, $pathinfo, $path)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -29,7 +29,7 @@ trait CallbacksTestTrait
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider provideInvalidCallbacks()
|
||||
* @dataProvider provideInvalidCallbacks
|
||||
*/
|
||||
public function testUncallableCallbacks($callbacks)
|
||||
{
|
||||
|
Reference in New Issue
Block a user