minor #40035 Streamline dataproviders (OskarStark)
This PR was merged into the 4.4 branch.
Discussion
----------
Streamline dataproviders
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | ---
| License | MIT
| Doc PR | ---
No need to create extra PR's on other branches, no more occurrences 👍
Commits
-------
025079b051
Streamline dataproviders
This commit is contained in:
commit
90e82546d2
@ -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