Skip to content

Commit 8221e69

Browse files
OskarStarknicolas-grekas
authored andcommitted
[PHPUnit 10] Use TestCase suffix for abstract tests in /Tests/
1 parent 71a2cfd commit 8221e69

7 files changed

+7
-7
lines changed

Tests/Loader/AbstractAnnotationLoaderTest.php renamed to Tests/Loader/AbstractAnnotationLoaderTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Routing\Loader\AnnotationClassLoader;
1616

17-
abstract class AbstractAnnotationLoaderTest extends TestCase
17+
abstract class AbstractAnnotationLoaderTestCase extends TestCase
1818
{
1919
public function getReader()
2020
{

Tests/Loader/AnnotationClassLoaderTest.php renamed to Tests/Loader/AnnotationClassLoaderTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Routing\Loader\AnnotationClassLoader;
1616
use Symfony\Component\Routing\Tests\Fixtures\AnnotationFixtures\AbstractClassController;
1717

18-
abstract class AnnotationClassLoaderTest extends TestCase
18+
abstract class AnnotationClassLoaderTestCase extends TestCase
1919
{
2020
/**
2121
* @var AnnotationClassLoader

Tests/Loader/AnnotationClassLoaderWithAnnotationsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Routing\Loader\AnnotationClassLoader;
1616
use Symfony\Component\Routing\Route;
1717

18-
class AnnotationClassLoaderWithAnnotationsTest extends AnnotationClassLoaderTest
18+
class AnnotationClassLoaderWithAnnotationsTest extends AnnotationClassLoaderTestCase
1919
{
2020
protected function setUp(string $env = null): void
2121
{

Tests/Loader/AnnotationClassLoaderWithAttributesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Routing\Loader\AnnotationClassLoader;
1515
use Symfony\Component\Routing\Route;
1616

17-
class AnnotationClassLoaderWithAttributesTest extends AnnotationClassLoaderTest
17+
class AnnotationClassLoaderWithAttributesTest extends AnnotationClassLoaderTestCase
1818
{
1919
protected function setUp(string $env = null): void
2020
{

Tests/Loader/AnnotationDirectoryLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Config\FileLocator;
1515
use Symfony\Component\Routing\Loader\AnnotationDirectoryLoader;
1616

17-
class AnnotationDirectoryLoaderTest extends AbstractAnnotationLoaderTest
17+
class AnnotationDirectoryLoaderTest extends AbstractAnnotationLoaderTestCase
1818
{
1919
protected $loader;
2020
protected $reader;

Tests/Loader/AnnotationFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Routing\Annotation\Route;
1616
use Symfony\Component\Routing\Loader\AnnotationFileLoader;
1717

18-
class AnnotationFileLoaderTest extends AbstractAnnotationLoaderTest
18+
class AnnotationFileLoaderTest extends AbstractAnnotationLoaderTestCase
1919
{
2020
protected $loader;
2121
protected $reader;

Tests/Loader/DirectoryLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\Routing\Loader\YamlFileLoader;
1919
use Symfony\Component\Routing\RouteCollection;
2020

21-
class DirectoryLoaderTest extends AbstractAnnotationLoaderTest
21+
class DirectoryLoaderTest extends AbstractAnnotationLoaderTestCase
2222
{
2323
private $loader;
2424
private $reader;

0 commit comments

Comments
 (0)