Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3658df7

Browse filesBrowse files
minor #49253 [PHPUnit 10] Use TestCase suffix for abstract tests in /Tests/ (OskarStark)
This PR was merged into the 6.3 branch. Discussion ---------- [PHPUnit 10] Use `TestCase` suffix for abstract tests in `/Tests/` | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Refs symfony/symfony#49233 | License | MIT | Doc PR | n/a Replaces #49234 Using `Test` suffix is deprecated since PHPUnit 10 Spotted in * symfony/symfony#49233 Commits ------- cb3db968e4 [PHPUnit 10] Use `TestCase` suffix for abstract tests in `/Tests/`
1 parent 062cc4e commit 3658df7
Copy full SHA for 3658df7

File tree

3 files changed

+3
-3
lines changed
Filter options

3 files changed

+3
-3
lines changed

‎Tests/Catalogue/AbstractOperationTest.php renamed to ‎Tests/Catalogue/AbstractOperationTestCase.php

Copy file name to clipboardExpand all lines: Tests/Catalogue/AbstractOperationTestCase.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Translation\MessageCatalogue;
1616
use Symfony\Component\Translation\MessageCatalogueInterface;
1717

18-
abstract class AbstractOperationTest extends TestCase
18+
abstract class AbstractOperationTestCase extends TestCase
1919
{
2020
public function testGetEmptyDomains()
2121
{

‎Tests/Catalogue/MergeOperationTest.php

Copy file name to clipboardExpand all lines: Tests/Catalogue/MergeOperationTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Translation\MessageCatalogue;
1616
use Symfony\Component\Translation\MessageCatalogueInterface;
1717

18-
class MergeOperationTest extends AbstractOperationTest
18+
class MergeOperationTest extends AbstractOperationTestCase
1919
{
2020
public function testGetMessagesFromSingleDomain()
2121
{

‎Tests/Catalogue/TargetOperationTest.php

Copy file name to clipboardExpand all lines: Tests/Catalogue/TargetOperationTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Translation\MessageCatalogue;
1616
use Symfony\Component\Translation\MessageCatalogueInterface;
1717

18-
class TargetOperationTest extends AbstractOperationTest
18+
class TargetOperationTest extends AbstractOperationTestCase
1919
{
2020
public function testGetMessagesFromSingleDomain()
2121
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.