Skip to content

Commit 727959d

Browse files
minor #21663 Updated PHPUnit namespaces (peterrehm)
This PR was squashed before being merged into the 2.8 branch (closes #21663). Discussion ---------- Updated PHPUnit namespaces | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow Up of #21564 Commits ------- 205ced4 Updated PHPUnit namespaces
2 parents ac2b3fd + 49df1ca commit 727959d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tests/Loader/ObjectRouteLoaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
namespace Symfony\Component\Routing\Tests\Loader;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Routing\Loader\ObjectRouteLoader;
1516
use Symfony\Component\Routing\Route;
1617
use Symfony\Component\Routing\RouteCollection;
1718

18-
class ObjectRouteLoaderTest extends \PHPUnit_Framework_TestCase
19+
class ObjectRouteLoaderTest extends TestCase
1920
{
2021
public function testLoadCallsServiceAndReturnsCollection()
2122
{

Tests/RouteCollectionBuilderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111

1212
namespace Symfony\Component\Routing\Tests;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Config\Resource\FileResource;
1516
use Symfony\Component\Routing\Route;
1617
use Symfony\Component\Routing\RouteCollection;
1718
use Symfony\Component\Routing\RouteCollectionBuilder;
1819

19-
class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase
20+
class RouteCollectionBuilderTest extends TestCase
2021
{
2122
public function testImport()
2223
{

0 commit comments

Comments
 (0)